mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
[FLASK] Clear notification state on restore (#16503)
This commit is contained in:
parent
ed52a4c227
commit
ee543598d3
@ -2110,6 +2110,8 @@ export default class MetamaskController extends EventEmitter {
|
|||||||
///: BEGIN:ONLY_INCLUDE_IN(flask)
|
///: BEGIN:ONLY_INCLUDE_IN(flask)
|
||||||
// Clear snap state
|
// Clear snap state
|
||||||
this.snapController.clearState();
|
this.snapController.clearState();
|
||||||
|
// Clear notification state
|
||||||
|
this.notificationController.clear();
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
|
|
||||||
// clear accounts in accountTracker
|
// clear accounts in accountTracker
|
||||||
|
Loading…
Reference in New Issue
Block a user