fix(patches selector): copy the selected patches list

This commit is contained in:
Ax333l 2023-05-20 09:47:42 +02:00 committed by oSumAtrIX
parent fc5f97e54b
commit 8e011a5d6b
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -56,7 +56,7 @@ fun PatchesSelectorScreen(
}, floatingActionButton = {
ExtendedFloatingActionButton(text = { Text(stringResource(R.string.patch)) },
icon = { Icon(Icons.Default.Build, null) },
onClick = { startPatching(vm.selectedPatches) })
onClick = { startPatching(vm.selectedPatches.toList()) })
}) { paddingValues ->
Column(Modifier.fillMaxSize().padding(paddingValues)) {
TabRow(