fix notification crash on ios (#2192)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Mon, 10 Feb 2025 10:02:33 +0000 (21:02 +1100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2025 10:02:33 +0000 (21:02 +1100)
commitb12228ee9521560d5e6d19ded81187e2312d26ee
tree9d23aedff2257c164cee77b8f791b31fa1b66a27
parent5460e4922b8060620b41d09f045c75c95db644db
fix notification crash on ios (#2192)

* fix notification crash for ios

* access notification from window variable

* fix Notification check

* catch notification variable error

* fix missing check for Notification
src/app/features/settings/notifications/Notifications.tsx
src/app/hooks/usePermission.ts
src/app/pages/client/ClientNonUIFeatures.tsx
src/app/utils/dom.ts