diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-11-16 20:52:10 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-11-16 20:52:10 +0100 |
commit | 69e11a513e4e0ca43d0434f1d823b7f07ad81640 (patch) | |
tree | ec9be46d67dab87242116811e603a55fe740e28a /src/stores/SettingsStore.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/SettingsStore.js')
-rw-r--r-- | src/stores/SettingsStore.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 31165053d..4b5715628 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { systemPreferences } from 'electron'; | 1 | import { remote } from 'electron'; |
2 | import { action, computed, observable } from 'mobx'; | 2 | import { action, computed, observable } from 'mobx'; |
3 | import localStorage from 'mobx-localstorage'; | 3 | import localStorage from 'mobx-localstorage'; |
4 | 4 | ||
@@ -7,6 +7,7 @@ import SettingsModel from '../models/Settings'; | |||
7 | import Request from './lib/Request'; | 7 | import Request from './lib/Request'; |
8 | import CachedRequest from './lib/CachedRequest'; | 8 | import CachedRequest from './lib/CachedRequest'; |
9 | 9 | ||
10 | const { systemPreferences } = remote; | ||
10 | const debug = require('debug')('SettingsStore'); | 11 | const debug = require('debug')('SettingsStore'); |
11 | 12 | ||
12 | export default class SettingsStore extends Store { | 13 | export default class SettingsStore extends Store { |