Skip to content

Commit

Permalink
Merge pull request #124 from humhub/121-notification-count-131
Browse files Browse the repository at this point in the history
Set notification count to 0 when user logs out.
  • Loading branch information
luke- committed Oct 19, 2023
2 parents 1d2cae1 + e4dd8a1 commit f8f89a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/web_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class WebViewAppState extends ConsumerState<WebViewApp> {
case ChannelAction.showOpener:
ref.read(humHubProvider).setIsHideOpener(false);
ref.read(humHubProvider).clearSafeStorage();
FlutterAppBadger.updateBadgeCount(0);
Navigator.of(context).pushNamedAndRemoveUntil(Opener.path, (Route<dynamic> route) => false);
break;
case ChannelAction.hideOpener:
Expand Down

0 comments on commit f8f89a8

Please sign in to comment.