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

This commit is contained in:
arkon 2021-02-28 16:22:30 -05:00
parent 5c8006f9b7
commit ae42f59102

View file

@ -16,7 +16,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 {