Skip to content

Commit

Permalink
Merge pull request #2437 from acterglobal/ben-app-badge-plus-on-macos
Browse files Browse the repository at this point in the history
Mac also misses BadgeAppPlus support. Skip it
  • Loading branch information
gnunicorn authored Dec 15, 2024
2 parents e7298f4 + 6436575 commit a1bea5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/acter_notifify/lib/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Future<void> removeNotificationsForRoom(String roomId) async {
}

Future<void> updateBadgeCount(int newCount) async {
if (Platform.isLinux) return; // not supported
if (Platform.isLinux || Platform.isMacOS) return; // not supported
if (await AppBadgePlus.isSupported()) {
await AppBadgePlus.updateBadge(0);
// await AppBadgePlus.updateBadge(newCount);
Expand Down

0 comments on commit a1bea5c

Please sign in to comment.