#2528: Also clear notifications on refresh in notifications timeline (#3498)

This commit is contained in:
UlrichKu 2023-03-30 19:38:44 +02:00 committed by GitHub
parent 8958c50de7
commit eee1414aff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -444,6 +444,7 @@ class NotificationsFragment :
override fun onRefresh() { override fun onRefresh() {
binding.progressBar.isVisible = false binding.progressBar.isVisible = false
adapter.refresh() adapter.refresh()
NotificationHelper.clearNotificationsForActiveAccount(requireContext(), accountManager)
} }
override fun onPause() { override fun onPause() {