소스 검색

Actually Fix #6341 (#6392)

FourTOne5 3 년 전
부모
커밋
800583b5e2
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt

+ 3 - 3
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()) {