mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
Fix "no description" not showing sometimes
This commit is contained in:
parent
3a4780e19b
commit
3f31152968
@ -113,9 +113,9 @@ class MangaHeaderHolder(
|
||||
else {
|
||||
manga_author.text = "${manga.author?.trim()}, ${manga.artist}"
|
||||
}
|
||||
manga_summary.text = manga.description?.trim() ?: itemView.context.getString(
|
||||
R.string.no_description
|
||||
)
|
||||
manga_summary.text =
|
||||
if (manga.description.isNullOrBlank()) itemView.context.getString(R.string.no_description)
|
||||
else manga.description?.trim()
|
||||
|
||||
if (item.isLocked) sub_item_group.referencedIds =
|
||||
intArrayOf(R.id.manga_summary, R.id.manga_summary_label, R.id.button_layout)
|
||||
|
Loading…
Reference in New Issue
Block a user