From 800583b5e253366d701f3b6cd599022accf4016f Mon Sep 17 00:00:00 2001 From: FourTOne5 <59261191+FourTOne5@users.noreply.github.com> Date: Mon, 27 Dec 2021 02:45:29 +0600 Subject: [PATCH] Actually Fix #6341 (#6392) --- .../tachiyomi/ui/setting/SettingsLibraryController.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt index e0ee08f36b..74366f2a2a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt @@ -242,10 +242,10 @@ class SettingsLibraryController : SettingsController() { .sortedBy { it.order } val includedItemsText = if (includedCategories.isEmpty()) { - if (excludedCategories.size == allCategories.size) context.getString(R.string.none) - else context.getString(R.string.all) + context.getString(R.string.none) } else { - includedCategories.joinToString { it.name } + if (includedCategories.size == allCategories.size) context.getString(R.string.all) + else includedCategories.joinToString { it.name } } val excludedItemsText = if (excludedCategories.isEmpty()) {