From 548c822f89da1608ea9ad0ff7681df5f4ab9230f Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Tue, 31 Mar 2026 16:00:48 +0530 Subject: [PATCH] feat: add URL and intent queries to Android manifest and refresh notification list after marking all as read --- android/app/src/main/AndroidManifest.xml | 20 +++++++++++++++++++ .../screens/notifications_screen.dart | 8 ++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index b2448c1..12021a5 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -72,5 +72,25 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/lib/features/notifications/presentation/screens/notifications_screen.dart b/lib/features/notifications/presentation/screens/notifications_screen.dart index 4dcf4f3..b759460 100644 --- a/lib/features/notifications/presentation/screens/notifications_screen.dart +++ b/lib/features/notifications/presentation/screens/notifications_screen.dart @@ -93,10 +93,14 @@ class _NotificationsScreenState extends ConsumerState { }), const Spacer(), GestureDetector( - onTap: () { - ref + onTap: () async { + await ref .read(notificationListProvider.notifier) .markAllAsRead(); + // Reload current filter to reflect changes + ref + .read(notificationListProvider.notifier) + .loadNotifications(filter: _activeFilter); }, child: const Text( 'Mark all as read',