react-native-true-sheet/android
Jovanni Lo 381a0a0e06
fix: interpolated index and detent for single detent (#297)
* fix: interpolated index and detent for single detent

When only one detent is provided (e.g., [1]), the interpolated index
and detent values were fixed at 0 and 1 respectively instead of
changing as the sheet moves.

Updated findSegmentForPosition on both iOS and Android to calculate
the interpolation between the closed state and the single detent.

* refactor: simplify findSegmentForPosition

Deduplicate the 'above first detent' logic by handling it once
before the single/multi-detent branching.

* chore: restore MapScreen
2025-12-09 22:18:30 +08:00
..
src/main fix: interpolated index and detent for single detent (#297) 2025-12-09 22:18:30 +08:00
.editorconfig chore(android): add ktlint 2024-04-01 02:20:31 +08:00
build.gradle Feat: Fabric (#211) 2025-11-23 14:54:19 +08:00
gradle.properties chore: deps 2025-02-17 17:21:51 +08:00