mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Support system theme on all platforms
This commit is contained in:
committed by
Scott Nonnenberg
parent
2529c7f9e3
commit
128859fdb7
@@ -10,7 +10,7 @@
|
||||
|
||||
function resolveTheme() {
|
||||
const theme = storage.get('theme-setting') || 'system';
|
||||
if (window.platform === 'darwin' && theme === 'system') {
|
||||
if (theme === 'system') {
|
||||
return window.systemTheme;
|
||||
}
|
||||
return theme;
|
||||
|
||||
Reference in New Issue
Block a user