commit 99a2baebaa8f91737dc1c9da67c454f127d64fec
parent 2d51aa83708d12eb2fb4ce8420775e35da1b8bb8
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date:   Mon, 26 Feb 2024 12:20:00 +0100

fix(core): bulk messaging action
Diffstat:
Mcore/src/main/kotlin/me/rhunk/snapenhance/core/action/impl/BulkMessagingAction.kt | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/action/impl/BulkMessagingAction.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/action/impl/BulkMessagingAction.kt @@ -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) } } -}- \ No newline at end of file +}