mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 22:01:51 +01:00
Page # before scanlator in chapters list
This commit is contained in:
parent
51383afd50
commit
a9adb2f1a2
@ -48,12 +48,12 @@ class ChapterHolder(
|
|||||||
if (chapter.date_upload > 0) {
|
if (chapter.date_upload > 0) {
|
||||||
descriptions.add(adapter.dateFormat.format(Date(chapter.date_upload)))
|
descriptions.add(adapter.dateFormat.format(Date(chapter.date_upload)))
|
||||||
}
|
}
|
||||||
if (!chapter.scanlator.isNullOrBlank()) {
|
|
||||||
descriptions.add(chapter.scanlator!!)
|
|
||||||
}
|
|
||||||
if (!chapter.read && chapter.last_page_read > 0) {
|
if (!chapter.read && chapter.last_page_read > 0) {
|
||||||
descriptions.add(itemView.context.getString(R.string.chapter_progress, chapter.last_page_read + 1))
|
descriptions.add(itemView.context.getString(R.string.chapter_progress, chapter.last_page_read + 1))
|
||||||
}
|
}
|
||||||
|
if (!chapter.scanlator.isNullOrBlank()) {
|
||||||
|
descriptions.add(chapter.scanlator!!)
|
||||||
|
}
|
||||||
|
|
||||||
if (descriptions.isNotEmpty()) {
|
if (descriptions.isNotEmpty()) {
|
||||||
chapter_description.text = descriptions.joinToString(" • ")
|
chapter_description.text = descriptions.joinToString(" • ")
|
||||||
|
Loading…
Reference in New Issue
Block a user