From acd6d5cd90604f3782e934fc013546812a38093c Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sun, 4 Jul 2021 17:07:46 -0400 Subject: [PATCH] fix format for last commit --- .../tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt index ad8577ef25..ee927fdc8f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt @@ -183,7 +183,8 @@ class PagerViewerAdapter(private val viewer: PagerViewer) : ViewPagerAdapter() { subItems.forEach { if (it is ReaderPage) { if (pagedItems.last().lastOrNull() != null && - pagedItems.last().last()?.chapter?.chapter?.id != it.chapter.chapter.id) { + pagedItems.last().last()?.chapter?.chapter?.id != it.chapter.chapter.id + ) { pagedItems.add(mutableListOf()) } pagedItems.last().add(it)