mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Fix sticker creator
This commit is contained in:
@@ -253,8 +253,7 @@ const getThemeSetting = createSetting('themeSetting');
|
||||
async function resolveTheme() {
|
||||
const theme = (await getThemeSetting.getValue()) || 'system';
|
||||
if (process.platform === 'darwin' && theme === 'system') {
|
||||
const { theme: nativeTheme } = SignalContext.nativeThemeListener;
|
||||
return nativeTheme.shouldUseDarkColors ? 'dark' : 'light';
|
||||
return SignalContext.nativeThemeListener.getSystemTheme();
|
||||
}
|
||||
return theme;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user