adding some crashfixes
This commit is contained in:
parent
953d521e47
commit
d1fe3531e1
5 changed files with 28 additions and 9 deletions
|
|
@ -135,7 +135,11 @@ class ConversationsAdapter(activity: SimpleActivity, var conversations: ArrayLis
|
|||
activity.deleteConversation(it.thread_id)
|
||||
activity.notificationManager.cancel(it.thread_id)
|
||||
}
|
||||
conversations.removeAll(conversationsToRemove)
|
||||
|
||||
try {
|
||||
conversations.removeAll(conversationsToRemove)
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
|
||||
activity.runOnUiThread {
|
||||
if (conversationsToRemove.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue