1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

[FLASK] Clear notification state on restore (#16503)

This commit is contained in:
Frederik Bolding 2022-11-22 13:32:15 +01:00 committed by GitHub
parent ed52a4c227
commit ee543598d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2110,6 +2110,8 @@ export default class MetamaskController extends EventEmitter {
///: BEGIN:ONLY_INCLUDE_IN(flask)
// Clear snap state
this.snapController.clearState();
// Clear notification state
this.notificationController.clear();
///: END:ONLY_INCLUDE_IN
// clear accounts in accountTracker