Release 1.6.1

This commit is contained in:
Jobobby04
2021-04-19 15:19:13 -04:00
parent 7e0f2950c1
commit 4118b13e5b
6 changed files with 20 additions and 14 deletions
@@ -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 }
}