mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
android: fix showing empty notification (#4237)
* android: fix showing empty notification * fix desktop concurrent notifications
This commit is contained in:
committed by
GitHub
parent
b58ccedf23
commit
da1cad96fc
+1
-1
@@ -77,7 +77,7 @@ object NtfManager {
|
||||
val msgNtfs = manager.activeNotifications.filter { ntf ->
|
||||
ntf.notification.channelId == MessageChannel
|
||||
}
|
||||
if (msgNtfs.count() == 1) {
|
||||
if (msgNtfs.size <= 1) {
|
||||
// Have a group notification with no children so cancel it
|
||||
manager.cancel(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user