mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 17:01:51 +01:00
Fix double page shifting when there's 2 full pages
I tried to fix it all in one pr, but these things happen
This commit is contained in:
parent
212386f3cc
commit
42cecf0bb2
@ -209,7 +209,7 @@ class PagerViewerAdapter(private val viewer: PagerViewer) : ViewPagerAdapter() {
|
|||||||
(
|
(
|
||||||
if (index > -1) (
|
if (index > -1) (
|
||||||
items.subList(0, index)
|
items.subList(0, index)
|
||||||
.indexOfFirst { it?.fullPage == true }
|
.indexOfLast { it?.fullPage == true }
|
||||||
) else -1
|
) else -1
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user