1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Merge pull request #689 from MetaMask/i#688

Fix for where fiat conversion does not persist when switching networks
This commit is contained in:
Dan Finlay 2016-10-01 14:01:10 -07:00 committed by GitHub
commit a52c497ad1
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@
## Current Master
- Fix bug where chosen FIAT exchange rate does no persist when switching networks
## 2.13.1 2016-09-23
- Fix a bug with estimating gas on Parity

View File

@ -22,7 +22,8 @@ module.exports = class MetamaskController {
this.idStore.setStore(this.ethStore)
this.messageManager = messageManager
this.publicConfigStore = this.initPublicConfigStore()
this.configManager.setCurrentFiat('USD')
var currentFiat = this.configManager.getCurrentFiat() || 'USD'
this.configManager.setCurrentFiat(currentFiat)
this.configManager.updateConversionRate()
this.scheduleConversionInterval()
}