diff options
author | 2019-01-07 23:53:32 +0100 | |
---|---|---|
committer | 2019-01-07 23:53:32 +0100 | |
commit | 8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf (patch) | |
tree | 899a872633f8c87a7ebb067b40b1ff1369851527 /src/stores | |
parent | Merge (diff) | |
download | ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.tar.gz ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.tar.zst ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.zip |
wip
Diffstat (limited to 'src/stores')
-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 188c2fc44..e3c5103da 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 theme from '@meetfranz/theme'; | 2 | import * as 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('dark'); | 26 | return theme.default('dark'); |
27 | } | 27 | } |
28 | 28 | ||
29 | return theme('default'); | 29 | return theme.default('default'); |
30 | } | 30 | } |
31 | 31 | ||
32 | // Actions | 32 | // Actions |