Open
Description
Describe the bug
Enabling Notifications takes a significant amount of time (>6 seconds) and disabling it also few seconds (2-3s). In both cases it takes long:
- If you have the notifications disabled, and click on Notifications, you will enable them from the popup, leaving the popup with the loading spinner
- If you have the notifications enabled, and go to Notifications settings, then you can disabled from there and re-enabeld from there. You will stay in settings with the loading spinner
Expected behavior
This issue can be investigated under the improve performance goal, together with other slow flows that have already been identified
Screenshots/Recordings
perf-notifications-2.mp4
Steps to reproduce
- Enable Notifications with several accounts in the wallet -- see loading time
- Disable Notifications for an individual account -- see loading time
- Disable Notifications for all accounts -- see loading time
Error messages or log output
No response
Version
12.0.0
Build type
None
Browser
Chrome
Operating system
Linux
Hardware wallet
No response
Additional context
No response
Severity
No response