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 4e43938f7f
commit 70e49aaaa3

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(