Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Follow chapter sort setting for start/resume FAB (closes #1716)

Cette révision appartient à :
arkon 2021-04-17 11:38:08 -04:00
Parent ef5148ebb4
révision f7cc36f2f0

Voir le fichier

@ -474,7 +474,7 @@ class MangaPresenter(
* Returns the next unread chapter or null if everything is read.
*/
fun getNextUnreadChapter(): ChapterItem? {
return chapters.sortedByDescending { it.source_order }.find { !it.read }
return chapters.sortedWith(getChapterSort()).findLast { !it.read }
}
/**