Hide subtitle in migration list of sources if no language set (i.e. uninstalled source)

(cherry picked from commit ae42f59102362449c00232b54fc8c6874392010b)
This commit is contained in:
arkon 2021-02-28 16:22:30 -05:00 committed by Jobobby04
parent c2e3b4d35a
commit 346bd5f57a

View File

@ -27,7 +27,7 @@ class SourceHolder(view: View, val adapter: SourceAdapter) :
val source = item.source
binding.title.text = source.name
binding.subtitle.isVisible = true
binding.subtitle.isVisible = source.lang != ""
binding.subtitle.text = LocaleHelper.getDisplayName(source.lang)
itemView.post {