Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
App: Fix bug related to notifications settings
When the app loads the user notification preference from storage, it doesn't take into account whether permission has been given to the browser. Hence when the user allows notification in the app settings & block notifications in the browser setting, the notification toggle switch in the settings view would enter a weird state where it's set to true + disabled (should be set to false + disabledin such a scenario).
- Loading branch information