Skip to content

Commit

Permalink
FIX: Communities Page: Notification Button DevCom-IITB#44
Browse files Browse the repository at this point in the history
  • Loading branch information
Prayas-Agrawal committed Jan 28, 2024
1 parent aeffd79 commit a74ffda
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/src/utils/customappbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ class _CustomAppBarState extends State<CustomAppBar> {
}));
}

actionButtons.add(_buildIcon(Icons.notifications_outlined, () {}));
actionButtons.add(_buildIcon(Icons.notifications_outlined, () {
var navi = Navigator.of(context);
navi.pop();
navi.pushNamed('/notifications');
}));

firstBuild = false;
}
Expand Down

0 comments on commit a74ffda

Please sign in to comment.