1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Construct AppStateController with the persisted initial state

This commit is contained in:
Whymarrh Whitby 2019-11-26 17:54:53 -03:30 committed by Mark Stacey
parent 9e6d401c2f
commit ddcf8f9de7

View File

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