HARDCODE theme to be dark, even if an old config is set to be light mode enabled

pull/733/head
Audric Ackermann 5 years ago
parent 24bf436b0c
commit 2194a3a537

@ -321,7 +321,7 @@
window.Events = {
getDeviceName: () => textsecure.storage.user.getDeviceName(),
getThemeSetting: () => storage.get('theme-setting', 'dark'),
getThemeSetting: () => 'dark', // storage.get('theme-setting', 'dark')
setThemeSetting: value => {
storage.put('theme-setting', value);
onChangeTheme();

@ -25,7 +25,7 @@
},
applyTheme() {
const iOS = storage.get('userAgent') === 'OWI';
const theme = storage.get('theme-setting') || 'dark';
const theme = 'dark'; // storage.get('theme-setting') || 'dark';
this.$el
.removeClass('light-theme')
.removeClass('dark-theme')

Loading…
Cancel
Save