Fix double page shifting when there's 2 full pages

I tried to fix it all in one pr, but these things happen
pull/7308/head
Jays2Kings 4 years ago
parent 212386f3cc
commit 42cecf0bb2

@ -209,7 +209,7 @@ class PagerViewerAdapter(private val viewer: PagerViewer) : ViewPagerAdapter() {
(
if (index > -1) (
items.subList(0, index)
.indexOfFirst { it?.fullPage == true }
.indexOfLast { it?.fullPage == true }
) else -1
)
)

Loading…
Cancel
Save