From ea32ea11f28d854e1d346d7d6c95fd5166cfb095 Mon Sep 17 00:00:00 2001 From: Vesnyx Date: Wed, 7 Mar 2018 11:02:59 -0800 Subject: [PATCH] Fixed marked previous as read not deleting chapters (#1283) --- .../eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt index 199ece7e92..8397e0b414 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt @@ -387,7 +387,7 @@ class ChaptersController : NucleusController(), val chapters = if (presenter.sortDescending()) adapter.items.reversed() else adapter.items val chapterPos = chapters.indexOf(chapter) if (chapterPos != -1) { - presenter.markChaptersRead(chapters.take(chapterPos), true) + markAsRead(chapters.take(chapterPos)) } }