Construct AppStateController with the persisted initial state

feature/default_network_editable
Whymarrh Whitby 5 years ago
parent e39485cb1c
commit c3a1a35f7d
  1. 1
      app/scripts/metamask-controller.js

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

Loading…
Cancel
Save