diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-07-03 07:09:05 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 07:09:05 +0530 |
commit | 83676cec9ce8e41d5e88e7d06a17dd8194e3593e (patch) | |
tree | a73eb8b64a20530ee3c44f1901c9daa2a069f12a /src/features | |
parent | Update submodules, browserslist data updates and linter fixes [skip ci] (diff) | |
download | ferdium-app-83676cec9ce8e41d5e88e7d06a17dd8194e3593e.tar.gz ferdium-app-83676cec9ce8e41d5e88e7d06a17dd8194e3593e.tar.zst ferdium-app-83676cec9ce8e41d5e88e7d06a17dd8194e3593e.zip |
Minor refactoring to move all runtime configs from 'config.js' into 'environment.js'. (#1588)
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/announcements/store.js | 2 | ||||
-rw-r--r-- | src/features/appearance/index.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js index 4e465286a..794d20142 100644 --- a/src/features/announcements/store.js +++ b/src/features/announcements/store.js | |||
@@ -13,7 +13,7 @@ import { announcementActions } from './actions'; | |||
13 | import { createActionBindings } from '../utils/ActionBinding'; | 13 | import { createActionBindings } from '../utils/ActionBinding'; |
14 | import { createReactions } from '../../stores/lib/Reaction'; | 14 | import { createReactions } from '../../stores/lib/Reaction'; |
15 | import { matchRoute } from '../../helpers/routing-helpers'; | 15 | import { matchRoute } from '../../helpers/routing-helpers'; |
16 | import { DEFAULT_APP_SETTINGS } from '../../config'; | 16 | import { DEFAULT_APP_SETTINGS } from '../../environment'; |
17 | 17 | ||
18 | const LOCAL_STORAGE_KEY = 'announcements'; | 18 | const LOCAL_STORAGE_KEY = 'announcements'; |
19 | 19 | ||
diff --git a/src/features/appearance/index.js b/src/features/appearance/index.js index b5648250e..87651a3f4 100644 --- a/src/features/appearance/index.js +++ b/src/features/appearance/index.js | |||
@@ -1,7 +1,8 @@ | |||
1 | import color from 'color'; | 1 | import color from 'color'; |
2 | import { reaction } from 'mobx'; | 2 | import { reaction } from 'mobx'; |
3 | import themeInfo from '../../assets/themeInfo.json'; | 3 | import themeInfo from '../../assets/themeInfo.json'; |
4 | import { DEFAULT_APP_SETTINGS, iconSizeBias } from '../../config'; | 4 | import { iconSizeBias } from '../../config'; |
5 | import { DEFAULT_APP_SETTINGS } from '../../environment'; | ||
5 | 6 | ||
6 | const STYLE_ELEMENT_ID = 'custom-appearance-style'; | 7 | const STYLE_ELEMENT_ID = 'custom-appearance-style'; |
7 | 8 | ||