Skip to content

Commit

Permalink
fix badge count
Browse files Browse the repository at this point in the history
fixes #80
  • Loading branch information
maxisme committed May 1, 2021
1 parent 59af725 commit cc05fea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/notifications/notifis.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class Notifications extends ChangeNotifier {
MenuBarIcon.set('grey');
}

if (canBadge) {
FlutterAppBadger.updateBadgeCount(cnt);
}

return cnt;
}

Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0"
version: "1.8.1"
sqflite:
dependency: "direct main"
description:
Expand Down Expand Up @@ -631,7 +631,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19"
version: "0.3.0"
timeago:
dependency: "direct main"
description:
Expand Down
Binary file modified test/golden-asserts/screen/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc05fea

Please sign in to comment.