Remove second bookmark icon from reader

This commit is contained in:
Jay 2020-05-22 14:20:54 -04:00
parent b174b954f5
commit 6616189463

View File

@ -45,7 +45,6 @@ class ReaderChapterItem(val chapter: Chapter, val manga: Manga, val isCurrent: B
val chapterColor = ChapterUtil.chapterColor(itemView.context, item.chapter) val chapterColor = ChapterUtil.chapterColor(itemView.context, item.chapter)
ChapterUtil.setTextViewForChapter(chapterTitle, item)
chapterTitle.text = when (manga.displayMode) { chapterTitle.text = when (manga.displayMode) {
Manga.DISPLAY_NUMBER -> { Manga.DISPLAY_NUMBER -> {
val number = item.decimalFormat.format(item.chapter_number.toDouble()) val number = item.decimalFormat.format(item.chapter_number.toDouble())
@ -67,6 +66,7 @@ class ReaderChapterItem(val chapter: Chapter, val manga: Manga, val isCurrent: B
} }
// match color of the chapter title // match color of the chapter title
chapterTitle.setTextColor(chapterColor)
chapterSubtitle.setTextColor(chapterColor) chapterSubtitle.setTextColor(chapterColor)
bookmarkImage.setImageResource( bookmarkImage.setImageResource(