default theme dark

This commit is contained in:
Kendall Garner 2024-01-21 22:58:10 -08:00
parent 33972c2a83
commit b3a9e7ccba
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -417,9 +417,7 @@ const createWindow = async () => {
}
const theme = store.get('theme') as 'dark' | 'light' | 'system' | undefined;
if (theme) {
nativeTheme.themeSource = theme;
}
nativeTheme.themeSource = theme || 'dark';
};
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService');