diff options
author | 2021-08-21 20:12:28 +0530 | |
---|---|---|
committer | 2021-08-21 21:55:28 +0530 | |
commit | 4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d (patch) | |
tree | 9f8b016d71136e87bcf532f60ce4acfa03f6cedd /src/stores/UIStore.js | |
parent | Incorrect position while adding a new service when there were pre-existing se... (diff) | |
download | ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.gz ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.zst ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.zip |
style: consistent syntax style [skip ci]
Diffstat (limited to 'src/stores/UIStore.js')
-rw-r--r-- | src/stores/UIStore.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/stores/UIStore.js b/src/stores/UIStore.js index adcd776c1..be675d5ed 100644 --- a/src/stores/UIStore.js +++ b/src/stores/UIStore.js | |||
@@ -43,8 +43,12 @@ export default class UIStore extends Store { | |||
43 | 43 | ||
44 | setup() { | 44 | setup() { |
45 | reaction( | 45 | reaction( |
46 | () => this.isDarkThemeActive, | 46 | () => ( |
47 | () => this._setupThemeInDOM(), | 47 | this.isDarkThemeActive |
48 | ), | ||
49 | () => { | ||
50 | this._setupThemeInDOM(); | ||
51 | }, | ||
48 | { fireImmediately: true }, | 52 | { fireImmediately: true }, |
49 | ); | 53 | ); |
50 | } | 54 | } |