mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 00:01:54 +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) {
|
with(binding.mangaSource) {
|
||||||
if (mangaSource != null) {
|
if (mangaSource != null) {
|
||||||
val enabledLanguages = preferences.enabledLanguages().get()
|
val enabledLanguages = preferences.enabledLanguages().get()
|
||||||
.filterNot { it == "all" }
|
.filterNot { it in listOf("all", "other") }
|
||||||
|
|
||||||
val hasOneActiveLanguages = enabledLanguages.size == 1
|
val hasOneActiveLanguages = enabledLanguages.size == 1
|
||||||
val isInEnabledLanguages = source.lang in enabledLanguages
|
val isInEnabledLanguages = source.lang in enabledLanguages
|
||||||
|
Loading…
Reference in New Issue
Block a user