From ae42f59102362449c00232b54fc8c6874392010b Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 28 Feb 2021 16:22:30 -0500 Subject: [PATCH] Hide subtitle in migration list of sources if no language set (i.e. uninstalled source) --- .../tachiyomi/ui/browse/migration/sources/SourceHolder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt index fcf1063a72..176ad3500c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt @@ -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 {