From 9c49a5ed22e9c501cea7d8020b90f9dd11ca4ee5 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 28 Aug 2022 00:02:19 +0200 Subject: [PATCH] Fix issue with removing categories from manga for ChangeCategoryDialog (#7874) --- .../eu/kanade/presentation/components/ChangeCategoryDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/components/ChangeCategoryDialog.kt b/app/src/main/java/eu/kanade/presentation/components/ChangeCategoryDialog.kt index 3e05c3517..7cff25e94 100644 --- a/app/src/main/java/eu/kanade/presentation/components/ChangeCategoryDialog.kt +++ b/app/src/main/java/eu/kanade/presentation/components/ChangeCategoryDialog.kt @@ -73,7 +73,7 @@ fun ChangeCategoryDialog( onDismissRequest() onConfirm( 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 }, ) }, ) {