Browse Source
Merge pull request #1143 from gre/fix/1138
Fix edgecase bug when switching fiat and not reseting the exchange
master
Meriadec Pillet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
src/actions/settings.js
|
|
@ -15,7 +15,11 @@ export const setDeveloperMode = (developerMode: boolean) => saveSettings({ devel |
|
|
|
export const setSentryLogs = (sentryLogs: boolean) => saveSettings({ sentryLogs }) |
|
|
|
export const setShareAnalytics = (shareAnalytics: boolean) => saveSettings({ shareAnalytics }) |
|
|
|
export const setMarketIndicator = (marketIndicator: *) => saveSettings({ marketIndicator }) |
|
|
|
export const setCounterValue = (counterValue: string) => saveSettings({ counterValue }) |
|
|
|
export const setCounterValue = (counterValue: string) => |
|
|
|
saveSettings({ |
|
|
|
counterValue, |
|
|
|
counterValueExchange: null, |
|
|
|
}) |
|
|
|
export const setLanguage = (language: ?string) => saveSettings({ language }) |
|
|
|
export const setRegion = (region: ?string) => saveSettings({ region }) |
|
|
|
export const setCounterValueExchange = (counterValueExchange: ?string) => |
|
|
|