Implemented review changes
Shorter UI text and >= date comparison instead of >
This commit is contained in:
parent
9e830f1c55
commit
6ba052d2af
@ -119,10 +119,8 @@ class HistoryPresenter : BasePresenter<HistoryController>() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Manga.SORTING_UPLOAD_DATE -> {
|
Manga.SORTING_UPLOAD_DATE -> {
|
||||||
val dateUpload = chapter.date_upload
|
chapters.drop(currChapterIndex + 1)
|
||||||
((currChapterIndex + 1) until chapters.size)
|
.firstOrNull { it.date_upload >= chapter.date_upload}
|
||||||
.map { chapters[it] }
|
|
||||||
.firstOrNull { it.date_upload > dateUpload }
|
|
||||||
}
|
}
|
||||||
else -> throw NotImplementedError("Unknown sorting method")
|
else -> throw NotImplementedError("Unknown sorting method")
|
||||||
}
|
}
|
||||||
|
@ -473,7 +473,7 @@
|
|||||||
<string name="sorting_mode">Sorting mode</string>
|
<string name="sorting_mode">Sorting mode</string>
|
||||||
<string name="sort_by_source">By source</string>
|
<string name="sort_by_source">By source</string>
|
||||||
<string name="sort_by_number">By chapter number</string>
|
<string name="sort_by_number">By chapter number</string>
|
||||||
<string name="sort_by_upload_date">By chapter upload date</string>
|
<string name="sort_by_upload_date">By upload date</string>
|
||||||
<string name="manga_download">Download</string>
|
<string name="manga_download">Download</string>
|
||||||
<string name="custom_download">Download custom amount</string>
|
<string name="custom_download">Download custom amount</string>
|
||||||
<string name="download_1">Next chapter</string>
|
<string name="download_1">Next chapter</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user