We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020318a commit ee1af73Copy full SHA for ee1af73
main.js
@@ -471,14 +471,14 @@ function isDarkMode() {
471
}
472
function darkModeSettingsFinder() {
473
if (process.platform == "darwin") {
474
- if (nativeTheme.shouldUseDarkColors)
475
- store.set('isdark', false);
476
- else {
+ if (nativeTheme.shouldUseDarkColors) {
477
store.set('isdark', true);
478
if (win != null) {
479
win.setBackgroundColor('#393939');
480
win.webContents.send('darkModeChanges');
481
+ } else {
+ store.set('isdark', false);
482
483
} else if (process.platform == 'win32') {
484
var regKey = new Registry({
0 commit comments