mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-11 01:30:29 +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;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
|
||||||
navigator.setAppBadge(unreadInfo.total);
|
|
||||||
} catch (e) {
|
|
||||||
// Likely Firefox/Gecko-based and doesn't support badging API
|
|
||||||
}
|
|
||||||
|
|
||||||
if (showNotifications && notificationPermission('granted')) {
|
if (showNotifications && notificationPermission('granted')) {
|
||||||
const avatarMxc =
|
const avatarMxc =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue