mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 20:01:50 +01:00
Don't count "other" as a language. (#5901)
This commit is contained in:
parent
7c72d6cb7c
commit
2c495c4119
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user