Fix "no description" not showing sometimes
This commit is contained in:
parent
3a4780e19b
commit
3f31152968
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue