Skip to content

Commit

Permalink
Merge pull request #7581 from whymarrh/fix-app-state-controller
Browse files Browse the repository at this point in the history
Construct AppStateController with the persisted initial state
  • Loading branch information
tmashuang authored Nov 26, 2019
2 parents 5e34eef + c3a1a35 commit cd9ef4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd9ef4c

Please sign in to comment.