mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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
e39485cb1c
commit
c044400a7e
@ -45,7 +45,7 @@ class AppStateController {
|
||||
* @private
|
||||
*/
|
||||
_setInactiveTimeout (timeoutMinutes) {
|
||||
this.store.putState({
|
||||
this.store.updateState({
|
||||
timeoutMinutes,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user