1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Update UI state on ethStore updates

UI was remarkably not relying on ethStore for updates, so things like account balances were frozen until user activity.

Fixes #963
This commit is contained in:
Dan Finlay 2017-01-03 11:10:20 -08:00
parent b93cdd428b
commit 1b9906372b

View File

@ -60,6 +60,8 @@ module.exports = class MetamaskController {
this.idStoreMigrator = new IdStoreMigrator({
configManager: this.configManager,
})
this.ethStore.on('update', this.sendUpdate.bind(this))
}
getState () {