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:
parent
c2e3b4d35a
commit
346bd5f57a
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user