mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Did not previously call functions before!
This commit is contained in:
parent
637d3978b7
commit
cb0c1f25ba
@ -252,9 +252,9 @@ module.exports = class MetamaskController {
|
||||
this.configManager.updateConversionRate()
|
||||
this.scheduleConversionInterval()
|
||||
const data = {
|
||||
conversionRate: this.configManager.getConversionRate,
|
||||
currentFiat: this.configManager.getCurrentFiat,
|
||||
conversionDate: this.configManager.getConversionDate,
|
||||
conversionRate: this.configManager.getConversionRate(),
|
||||
currentFiat: this.configManager.getCurrentFiat(),
|
||||
conversionDate: this.configManager.getConversionDate(),
|
||||
}
|
||||
cb(data)
|
||||
} catch (e) {
|
||||
|
@ -223,6 +223,9 @@ function setCurrentFiat (fiat) {
|
||||
dispatch(this.showLoadingIndication())
|
||||
_accountManager.setCurrentFiat(fiat, (data, err) => {
|
||||
dispatch(this.hideLoadingIndication())
|
||||
console.log("NEW THINGS")
|
||||
console.log("==========")
|
||||
console.log(data.currentFiat, data.conversionRate, data.conversionDate)
|
||||
dispatch({
|
||||
type: this.SET_CURRENT_FIAT,
|
||||
value: {
|
||||
|
Loading…
Reference in New Issue
Block a user