From 69baaac27eb7acf5f4b1353d3de9fd8709716f54 Mon Sep 17 00:00:00 2001 From: len Date: Sat, 15 Oct 2016 15:27:26 +0200 Subject: [PATCH] Another crash fixed in webtoon reader --- .../kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonReader.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonReader.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonReader.kt index 8fe08b5d7..f08eecd55 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonReader.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonReader.kt @@ -150,8 +150,7 @@ class WebtoonReader : BaseReader() { * @param currentPage the initial page to display. */ override fun onChapterSet(chapter: ReaderChapter, currentPage: Page) { - // Restoring current page is not supported. It's getting weird scrolling jumps - // this.currentPage = currentPage; + this.currentPage = currentPage.pageNumber // Make sure the view is already initialized. if (view != null) {