mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-02 12:36:44 +01:00
fixing the summary notification displaying when marking rooms as read and no other notifications are showing
This commit is contained in:
parent
64bce44a12
commit
30453e695d
@ -43,7 +43,7 @@ class NotificationRenderer(
|
||||
}
|
||||
|
||||
notifications.summaryNotification?.let {
|
||||
if (notifications.delegates.filterIsInstance<NotificationDelegate.Room>().isNotEmpty()) {
|
||||
if (notifications.delegates.filterIsInstance<NotificationDelegate.Room>().isNotEmpty() && !onlyContainsRemovals) {
|
||||
log(AppLogTag.NOTIFICATION, "notifying summary")
|
||||
notificationManager.notify(SUMMARY_NOTIFICATION_ID, it)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user