Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bb2f26c authored by Mike Schneider's avatar Mike Schneider
Browse files

SwipeToDismiss with MotionValue

- Extract code into `overscrollToDismiss` Modifier
- set `beyondViewportPageCount` to 1 to avoid recomposition during
  animation

Tests:
- Add dependencies for motion tests in `PlatformComposeCore`
- Change test activity theme to `NoActionBar` to ensure composable is
  visible in recordings

Test: OverscrollToDismissTest
Flag: EXEMPT code not in use in production
Change-Id: I9dc94966de7c288e9919680a60a6b2be6bc592ca
parent 13f26f5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment