mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-19 05:55:04 -04:00
Don't bounce full screen screenshots
This commit is contained in:
@@ -97,7 +97,9 @@ private fun Screenshots(phoneScreenshots: List<Any>) {
|
||||
pageCount = { phoneScreenshots.size },
|
||||
)
|
||||
Surface {
|
||||
HorizontalPager(state = pagerState) { page ->
|
||||
// The overscrollEffect was bouncing screenshots with each swipe.
|
||||
// Maybe this was a bug and overscroll effect can be enabled again once fixed.
|
||||
HorizontalPager(state = pagerState, overscrollEffect = null) { page ->
|
||||
AsyncShimmerImage(
|
||||
model = phoneScreenshots[page],
|
||||
contentDescription = "",
|
||||
|
||||
Reference in New Issue
Block a user