mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Fixed deleting notification after deleting conversation ( #637)
This commit is contained in:
@@ -199,7 +199,7 @@ class ConversationsAdapter(
|
|||||||
val conversationsToRemove = currentList.filter { selectedKeys.contains(it.hashCode()) } as ArrayList<Conversation>
|
val conversationsToRemove = currentList.filter { selectedKeys.contains(it.hashCode()) } as ArrayList<Conversation>
|
||||||
conversationsToRemove.forEach {
|
conversationsToRemove.forEach {
|
||||||
activity.deleteConversation(it.threadId)
|
activity.deleteConversation(it.threadId)
|
||||||
activity.notificationManager.cancel(it.hashCode())
|
activity.notificationManager.cancel(it.threadId.hashCode())
|
||||||
}
|
}
|
||||||
|
|
||||||
val newList = try {
|
val newList = try {
|
||||||
|
Reference in New Issue
Block a user