diff options
author | 2018-11-16 20:52:10 +0100 | |
---|---|---|
committer | 2018-11-16 20:52:10 +0100 | |
commit | 69e11a513e4e0ca43d0434f1d823b7f07ad81640 (patch) | |
tree | ec9be46d67dab87242116811e603a55fe740e28a /src/stores/AppStore.js | |
parent | use native electron.systemPreferences.isDarkMode() (diff) | |
download | ferdium-app-69e11a513e4e0ca43d0434f1d823b7f07ad81640.tar.gz ferdium-app-69e11a513e4e0ca43d0434f1d823b7f07ad81640.tar.zst ferdium-app-69e11a513e4e0ca43d0434f1d823b7f07ad81640.zip |
Fix systemPreferences.isDarkMode call
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index d1ed2596b..76d9bfa53 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { remote, ipcRenderer, shell, systemPreferences } from 'electron'; | 1 | import { remote, ipcRenderer, shell } from 'electron'; |
2 | import { action, computed, observable } from 'mobx'; | 2 | import { action, computed, observable } from 'mobx'; |
3 | import moment from 'moment'; | 3 | import moment from 'moment'; |
4 | import key from 'keymaster'; | 4 | import key from 'keymaster'; |
@@ -17,7 +17,7 @@ import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '.. | |||
17 | 17 | ||
18 | const debug = require('debug')('AppStore'); | 18 | const debug = require('debug')('AppStore'); |
19 | 19 | ||
20 | const { app } = remote; | 20 | const { app, systemPreferences } = remote; |
21 | 21 | ||
22 | const mainWindow = remote.getCurrentWindow(); | 22 | const mainWindow = remote.getCurrentWindow(); |
23 | 23 | ||