From 9e6d401c2f650b84e7c0c4926d2750cf660b07b4 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 26 Nov 2019 17:14:29 -0330 Subject: [PATCH] Don't overwrite state when setting inactive timeout Using `#putState` here was clearing the other fields in the store. --- app/scripts/controllers/app-state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/controllers/app-state.js b/app/scripts/controllers/app-state.js index 8d67874ad..c60a1c4f5 100644 --- a/app/scripts/controllers/app-state.js +++ b/app/scripts/controllers/app-state.js @@ -45,7 +45,7 @@ class AppStateController { * @private */ _setInactiveTimeout (timeoutMinutes) { - this.store.putState({ + this.store.updateState({ timeoutMinutes, })