From 2c495c4119d050e330677e445798cd2ec8a9ff53 Mon Sep 17 00:00:00 2001 From: FourTOne5 <59261191+FourTOne5@users.noreply.github.com> Date: Tue, 14 Sep 2021 01:05:12 +0600 Subject: [PATCH] Don't count "other" as a language. (#5901) --- .../eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt index d056f6a989..8438fda80e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt +++ b/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