fix(patches selector): copy the selected patches list

This commit is contained in:
Ax333l 2023-05-20 09:47:42 +02:00
parent 1624e90854
commit 8c58c41bb7
No known key found for this signature in database
GPG Key ID: D2B4D85271127D23

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(