mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
Don't count "other" as a language. (#5901)
This commit is contained in:
parent
7c72d6cb7c
commit
2c495c4119
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue