1
0
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:
Whymarrh Whitby 2019-11-26 17:54:53 -03:30
parent e39485cb1c
commit c3a1a35f7d

View File

@ -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