pull/1319/head
Audric Ackermann 5 years ago
parent 73e2250ca8
commit cf918b76b4
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -22,7 +22,7 @@
openInbox: 'openInbox',
},
applyTheme() {
const rtlLocales = ['fa']
const rtlLocales = ['fa'];
const theme = storage.get('theme-setting') || 'light';
this.$el
.removeClass('light-theme')
@ -30,7 +30,7 @@
.removeClass('rtl')
.addClass(`${theme}-theme`);
const loc = window.i18n.getLocale()
const loc = window.i18n.getLocale();
if (rtlLocales.includes(loc)) {
this.$el.addClass('rtl');
}

Loading…
Cancel
Save