fix: lang codes not found

This commit is contained in:
rebelonion 2024-05-06 22:31:21 -05:00
parent 40c2989b34
commit fda68a7ca2
11 changed files with 18 additions and 14 deletions

View file

@ -548,7 +548,7 @@ class MangaReadAdapter(
val adapter = ArrayAdapter(
fragment.requireContext(),
R.layout.item_dropdown,
parser.extension.sources.map { LanguageMapper.getLanguageCode(it.lang) }
parser.extension.sources.map { LanguageMapper.getLanguageName(it.lang) }
)
val items = adapter.count
binding?.animeSourceLanguageContainer?.isVisible = items > 1