From a74ffda72a8a481b464ea7db0677d9a80523c972 Mon Sep 17 00:00:00 2001 From: Prayas-Agrawal Date: Sun, 28 Jan 2024 22:07:45 +0530 Subject: [PATCH] FIX: Communities Page: Notification Button #44 --- lib/src/utils/customappbar.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/src/utils/customappbar.dart b/lib/src/utils/customappbar.dart index 744905a5..9bb5cad0 100644 --- a/lib/src/utils/customappbar.dart +++ b/lib/src/utils/customappbar.dart @@ -77,7 +77,11 @@ class _CustomAppBarState extends State { })); } - actionButtons.add(_buildIcon(Icons.notifications_outlined, () {})); + actionButtons.add(_buildIcon(Icons.notifications_outlined, () { + var navi = Navigator.of(context); + navi.pop(); + navi.pushNamed('/notifications'); + })); firstBuild = false; }