If no theme setting, default to 'system' theme (#4128)
This commit is contained in:
parent
c2ebbea046
commit
45024beb9c
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue