Merge pull request #7581 from whymarrh/fix-app-state-controller

Construct AppStateController with the persisted initial state
feature/default_network_editable
Thomas Huang 5 years ago committed by GitHub
commit cd9ef4ced4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/scripts/metamask-controller.js

@ -111,6 +111,7 @@ module.exports = class MetamaskController extends EventEmitter {
this.appStateController = new AppStateController({
preferencesStore: this.preferencesController.store,
onInactiveTimeout: () => this.setLocked(),
initState: initState.AppStateController,
})
// currency controller

Loading…
Cancel
Save