meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
3 additions and
1 deletions
-
src/reducers/settings.js
|
|
@ -63,7 +63,7 @@ const INITIAL_STATE: SettingsState = { |
|
|
|
marketIndicator: 'western', |
|
|
|
currenciesSettings: {}, |
|
|
|
region, |
|
|
|
developerMode: false, |
|
|
|
developerMode: !!process.env.__DEV__, |
|
|
|
loaded: false, |
|
|
|
shareAnalytics: false, |
|
|
|
} |
|
|
@ -106,6 +106,7 @@ const handlers: Object = { |
|
|
|
) => ({ |
|
|
|
...state, |
|
|
|
...settings, |
|
|
|
developerMode: settings.developerMode || !!process.env.__DEV__, |
|
|
|
}), |
|
|
|
FETCH_SETTINGS: ( |
|
|
|
state: SettingsState, |
|
|
@ -113,6 +114,7 @@ const handlers: Object = { |
|
|
|
) => ({ |
|
|
|
...state, |
|
|
|
...settings, |
|
|
|
developerMode: settings.developerMode || !!process.env.__DEV__, |
|
|
|
loaded: true, |
|
|
|
}), |
|
|
|
} |
|
|
|