mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-04-30 14:44: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 = {
|
onClick = {
|
||||||
showConfirmationDialog = true
|
showConfirmationDialog = true
|
||||||
action = {
|
action = {
|
||||||
removeAction(ctx, selectedFriends.also {
|
removeAction(ctx, selectedFriends.toList().also {
|
||||||
selectedFriends.clear()
|
selectedFriends.clear()
|
||||||
}) { removeFriend(it) }.invokeOnCompletion {
|
}) { removeFriend(it) }.invokeOnCompletion {
|
||||||
context.coroutineScope.launch { refreshList() }
|
context.coroutineScope.launch { refreshList() }
|
||||||
@ -461,4 +461,4 @@ class BulkMessagingAction : AbstractAction() {
|
|||||||
}.invoke(completable)
|
}.invoke(completable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user