Skip to content

Commit

Permalink
Set notification count to 0 when user logs out.
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimozRatej committed Oct 19, 2023
1 parent 1d2cae1 commit e4dd8a1
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 e4dd8a1

Please sign in to comment.