mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-10 17:20:28 +03:00
Remove incorrect nav badge handling placement
This commit is contained in:
parent
72aa386238
commit
8cbc9ce601
1 changed files with 0 additions and 5 deletions
|
|
@ -212,11 +212,6 @@ function MessageNotifications() {
|
|||
) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
navigator.setAppBadge(unreadInfo.total);
|
||||
} catch (e) {
|
||||
// Likely Firefox/Gecko-based and doesn't support badging API
|
||||
}
|
||||
|
||||
if (showNotifications && notificationPermission('granted')) {
|
||||
const avatarMxc =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue