fix(core): bulk messaging action

This commit is contained in:
rhunk 2024-02-26 12:20:00 +01:00 committed by GitHub
parent 2d51aa8370
commit 99a2baebaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -412,7 +412,7 @@ class BulkMessagingAction : AbstractAction() {
onClick = {
showConfirmationDialog = true
action = {
removeAction(ctx, selectedFriends.also {
removeAction(ctx, selectedFriends.toList().also {
selectedFriends.clear()
}) { removeFriend(it) }.invokeOnCompletion {
context.coroutineScope.launch { refreshList() }
@ -461,4 +461,4 @@ class BulkMessagingAction : AbstractAction() {
}.invoke(completable)
}
}
}
}