Fix dot seperator showing in reader chapters list when theres no scanlator

This commit is contained in:
Jays2Kings 2021-05-06 17:16:33 -04:00
parent c43b36768c
commit db5e6f9216

View File

@ -50,7 +50,7 @@ class ReaderChapterItem(val chapter: Chapter, val manga: Manga, val isCurrent: B
val statuses = mutableListOf<String>()
ChapterUtil.relativeDate(item)?.let { statuses.add(it) }
item.scanlator?.isNotBlank()?.let { statuses.add(item.scanlator ?: "") }
item.scanlator?.takeIf { it.isNotBlank() }?.let { statuses.add(item.scanlator ?: "") }
if (item.isCurrent) {
binding.chapterTitle.setTypeface(null, Typeface.BOLD_ITALIC)