diff options
Diffstat (limited to 'src/stores/UIStore.js')
-rw-r--r-- | src/stores/UIStore.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stores/UIStore.js b/src/stores/UIStore.js index e3c5103da..bb7965a4a 100644 --- a/src/stores/UIStore.js +++ b/src/stores/UIStore.js | |||
@@ -1,5 +1,5 @@ | |||
1 | import { action, observable, computed } from 'mobx'; | 1 | import { action, observable, computed } from 'mobx'; |
2 | import * as theme from '@meetfranz/theme'; | 2 | import { theme } from '@meetfranz/theme'; |
3 | 3 | ||
4 | import Store from './lib/Store'; | 4 | import Store from './lib/Store'; |
5 | 5 | ||
@@ -23,10 +23,10 @@ export default class UIStore extends Store { | |||
23 | 23 | ||
24 | @computed get theme() { | 24 | @computed get theme() { |
25 | if (this.stores.settings.all.app.darkMode) { | 25 | if (this.stores.settings.all.app.darkMode) { |
26 | return theme.default('dark'); | 26 | return theme('dark'); |
27 | } | 27 | } |
28 | 28 | ||
29 | return theme.default('default'); | 29 | return theme('default'); |
30 | } | 30 | } |
31 | 31 | ||
32 | // Actions | 32 | // Actions |