From eee1414affab03ee2418d3323310688ed94258b7 Mon Sep 17 00:00:00 2001 From: UlrichKu Date: Thu, 30 Mar 2023 19:38:44 +0200 Subject: [PATCH] #2528: Also clear notifications on refresh in notifications timeline (#3498) --- .../tusky/components/notifications/NotificationsFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/notifications/NotificationsFragment.kt b/app/src/main/java/com/keylesspalace/tusky/components/notifications/NotificationsFragment.kt index 746aca559..1455f83ba 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/notifications/NotificationsFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/notifications/NotificationsFragment.kt @@ -444,6 +444,7 @@ class NotificationsFragment : override fun onRefresh() { binding.progressBar.isVisible = false adapter.refresh() + NotificationHelper.clearNotificationsForActiveAccount(requireContext(), accountManager) } override fun onPause() {