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:
commit
a52c497ad1
@ -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
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user