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:
parent
b93cdd428b
commit
1b9906372b
@ -60,6 +60,8 @@ module.exports = class MetamaskController {
|
|||||||
this.idStoreMigrator = new IdStoreMigrator({
|
this.idStoreMigrator = new IdStoreMigrator({
|
||||||
configManager: this.configManager,
|
configManager: this.configManager,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.ethStore.on('update', this.sendUpdate.bind(this))
|
||||||
}
|
}
|
||||||
|
|
||||||
getState () {
|
getState () {
|
||||||
|
Loading…
Reference in New Issue
Block a user