mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
default theme dark
This commit is contained in:
+1
-3
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user