mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Don't overwrite state when setting inactive timeout
Using `#putState` here was clearing the other fields in the store.
This commit is contained in:
parent
c6259f6eb5
commit
9e6d401c2f
@ -45,7 +45,7 @@ class AppStateController {
|
||||
* @private
|
||||
*/
|
||||
_setInactiveTimeout (timeoutMinutes) {
|
||||
this.store.putState({
|
||||
this.store.updateState({
|
||||
timeoutMinutes,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user