fix: disable badge count for sessions

This commit is contained in:
lostb1t
2025-03-16 17:19:48 +01:00
committed by GitHub
parent a1b2248f16
commit defe87debb

View File

@@ -29,7 +29,7 @@ export const useSessions = ({ refetchInterval = 5 * 1000, activeWithinSeconds =
.filter((s) => s.NowPlayingItem)
.sort((a, b) => (b.NowPlayingItem?.Name ?? "").localeCompare(a.NowPlayingItem?.Name ?? ""));
Notifications.setBadgeCountAsync(result.length);
// Notifications.setBadgeCountAsync(result.length);
return result
},
refetchInterval: refetchInterval,