Skip to content

Commit

Permalink
default theme dark
Browse files Browse the repository at this point in the history
  • Loading branch information
kgarner7 committed Jan 22, 2024
1 parent 33972c2 commit b3a9e7c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b3a9e7c

Please sign in to comment.