diff options
author | Bennett <hello@vantezzen.io> | 2019-10-30 10:03:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-30 10:03:00 +0100 |
commit | c4381113bded26515c16d641bad69dd425f8b37b (patch) | |
tree | ef363afd8756c155259af8d512e286a29836b734 /src/stores/ServicesStore.js | |
parent | Update theme information (diff) | |
parent | Respect MacOS current theme (diff) | |
download | ferdium-app-c4381113bded26515c16d641bad69dd425f8b37b.tar.gz ferdium-app-c4381113bded26515c16d641bad69dd425f8b37b.tar.zst ferdium-app-c4381113bded26515c16d641bad69dd425f8b37b.zip |
Merge pull request #173 from steliyan/use-osx-theme
Add option to respect MacOS light/dark theme
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r-- | src/stores/ServicesStore.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index f65faa5a5..3dd601bc3 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -116,6 +116,11 @@ export default class ServicesStore extends Store { | |||
116 | ); | 116 | ); |
117 | 117 | ||
118 | reaction( | 118 | reaction( |
119 | () => this.stores.settings.app.adaptableDarkMode, | ||
120 | () => this._shareSettingsWithServiceProcess(), | ||
121 | ); | ||
122 | |||
123 | reaction( | ||
119 | () => this.stores.settings.app.universalDarkMode, | 124 | () => this.stores.settings.app.universalDarkMode, |
120 | () => this._shareSettingsWithServiceProcess(), | 125 | () => this._shareSettingsWithServiceProcess(), |
121 | ); | 126 | ); |