-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: better handle notification account tracking on wallet unlock (#…
…5323) ## Explanation Our constructor fired account calls even when the wallet was locked. We added similar logic as push notifications to ensure we only make the initialise call after the wallet is unlocked. ## References N/A ## Changelog ### `@metamask/notification-services-controller` - **ADDED**: lock conditional checks when initialising accounts inside the NotificationServicesController - **ADDED**: accounts initialise call when the wallet is unlocked ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [x] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
- Loading branch information
1 parent
a7718b8
commit e94aede
Showing
2 changed files
with
161 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters