Fix issue with removing categories from manga for ChangeCategoryDialog (#7874)

This commit is contained in:
Andreas 2022-08-28 00:02:19 +02:00 committed by GitHub
parent 0bb20a92af
commit 9c49a5ed22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ fun ChangeCategoryDialog(
onDismissRequest() onDismissRequest()
onConfirm( onConfirm(
selection.filter { it is CheckboxState.State.Checked || it is CheckboxState.TriState.Include }.map { it.value.id }, selection.filter { it is CheckboxState.State.Checked || it is CheckboxState.TriState.Include }.map { it.value.id },
selection.filter { it is CheckboxState.TriState.Exclude }.map { it.value.id }, selection.filter { it is CheckboxState.State.None || it is CheckboxState.TriState.None }.map { it.value.id },
) )
}, },
) { ) {