mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Construct AppStateController with the persisted initial state
This commit is contained in:
parent
9e6d401c2f
commit
ddcf8f9de7
@ -109,6 +109,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
||||
this.appStateController = new AppStateController({
|
||||
preferencesStore: this.preferencesController.store,
|
||||
onInactiveTimeout: () => this.setLocked(),
|
||||
initState: initState.AppStateController,
|
||||
})
|
||||
|
||||
// currency controller
|
||||
|
Loading…
Reference in New Issue
Block a user