mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-29 21:37:56 +01:00
Hide subtitle in migration list of sources if no language set (i.e. uninstalled source)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user