Forráskód Böngészése

Don't count "other" as a language. (#5901)

FourTOne5 3 éve
szülő
commit
2c495c4119

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt

@@ -258,7 +258,7 @@ class MangaInfoHeaderAdapter(
             with(binding.mangaSource) {
                 if (mangaSource != null) {
                     val enabledLanguages = preferences.enabledLanguages().get()
-                        .filterNot { it == "all" }
+                        .filterNot { it in listOf("all", "other") }
 
                     val hasOneActiveLanguages = enabledLanguages.size == 1
                     val isInEnabledLanguages = source.lang in enabledLanguages