fix(patches selector): copy the selected patches list

This commit is contained in:
Ax333l 2023-05-20 09:47:42 +02:00
parent ca20996b62
commit 762bfa8514

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(