mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
default theme dark
This commit is contained in:
parent
33972c2a83
commit
b3a9e7ccba
1 changed files with 1 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue