diff options
author | 2019-11-28 03:59:30 +0700 | |
---|---|---|
committer | 2019-11-28 03:59:30 +0700 | |
commit | b2bd511c6031a59180bdf8ae633bf7e619fdb437 (patch) | |
tree | 25cd494f3a407c9ecf0303597d7cd3f7f2b78fe2 /src | |
parent | Remove unnecessary call to window.ferdi.menu.rebuild (diff) | |
download | ferdium-app-b2bd511c6031a59180bdf8ae633bf7e619fdb437.tar.gz ferdium-app-b2bd511c6031a59180bdf8ae633bf7e619fdb437.tar.zst ferdium-app-b2bd511c6031a59180bdf8ae633bf7e619fdb437.zip |
Fix isDarkThemeActive logic with adaptableDarkMode
Diffstat (limited to 'src')
-rw-r--r-- | src/stores/UIStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/UIStore.js b/src/stores/UIStore.js index 44bc7c974..ee4e0f2b1 100644 --- a/src/stores/UIStore.js +++ b/src/stores/UIStore.js | |||
@@ -48,7 +48,7 @@ export default class UIStore extends Store { | |||
48 | } | 48 | } |
49 | 49 | ||
50 | @computed get isDarkThemeActive() { | 50 | @computed get isDarkThemeActive() { |
51 | return this.stores.settings.all.app.darkMode || (this.stores.settings.all.app.adaptableDarkMode && this.isOsDarkThemeActive); | 51 | return this.stores.settings.all.app.darkMode && this.stores.settings.all.app.adaptableDarkMode && this.isOsDarkThemeActive ? true : !!this.stores.settings.all.app.darkMode; |
52 | } | 52 | } |
53 | 53 | ||
54 | @computed get theme() { | 54 | @computed get theme() { |