Remove iOS theme in favor of plain light/dark themes

This commit is contained in:
Scott Nonnenberg 2018-06-25 16:57:06 -07:00
parent 19cbfae127
commit fc5c52fbdf
16 changed files with 51 additions and 623 deletions

View file

@ -85,10 +85,9 @@
value: window.initialData.themeSetting,
setFn: theme => {
$(document.body)
.removeClass('android')
.removeClass('android-dark')
.removeClass('ios')
.addClass(theme);
.removeClass('dark-theme')
.removeClass('light-theme')
.addClass(`${theme}-theme`);
window.setThemeSetting(theme);
},
});
@ -132,7 +131,8 @@
nameOnly: i18n('nameOnly'),
audioNotificationDescription: i18n('audioNotificationDescription'),
isAudioNotificationSupported: Settings.isAudioNotificationSupported(),
themeAndroidDark: i18n('themeAndroidDark'),
themeLight: i18n('themeLight'),
themeDark: i18n('themeDark'),
hideMenuBar: i18n('hideMenuBar'),
clearDataHeader: i18n('clearDataHeader'),
clearDataButton: i18n('clearDataButton'),