mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Construct AppStateController with the persisted initial state
This commit is contained in:
parent
e39485cb1c
commit
c3a1a35f7d
@ -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…
Reference in New Issue
Block a user