If no theme setting, default to 'system' theme (#4128)

This commit is contained in:
Corey Rice
2020-04-15 21:17:58 -03:00
committed by GitHub
parent c2ebbea046
commit 45024beb9c
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
window.Whisper = window.Whisper || {};
function resolveTheme() {
const theme = storage.get('theme-setting') || 'light';
const theme = storage.get('theme-setting') || 'system';
if (window.platform === 'darwin' && theme === 'system') {
return window.systemTheme;
}