Release 1.6.1
This commit is contained in:
@@ -892,7 +892,7 @@ class MangaPresenter(
|
||||
*/
|
||||
fun getNextUnreadChapter(): ChapterItem? {
|
||||
return if (source.isEhBasedSource()) {
|
||||
chapters.sortedWith(getChapterSort()).lastOrNull()?.takeUnless { it.read }
|
||||
chapters.sortedWith(getChapterSort()).firstOrNull()?.takeUnless { it.read }
|
||||
} else {
|
||||
chapters.sortedWith(getChapterSort()).findLast { !it.read }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user