mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-04-29 22:24:35 +02:00
fix(core): bulk messaging action
This commit is contained in:
parent
2d51aa8370
commit
99a2baebaa
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user