Skip to content

Commit

Permalink
Construct AppStateController with the persisted initial state
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh committed Nov 26, 2019
1 parent e39485c commit c3a1a35
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 c3a1a35

Please sign in to comment.