mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
If no theme setting, default to 'system' theme (#4128)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user