Fix sticker creator
This commit is contained in:
parent
577d9a41cc
commit
e741b7820a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue