feat(workout-summary): add lengths, avg pace, and per-set pool pace stats; fix swipe direction

This commit is contained in:
2026-08-08 23:39:21 +02:00
parent eeb3069750
commit 819d26e0f6
13 changed files with 117 additions and 15 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ export function SwipeableRow({ children, onDelete, deleteLabel = "Delete" }: Swi
const onHandlerStateChange = (event: any) => {
if (event.oldState === State.ACTIVE) {
const { translationX } = event.nativeEvent;
const newOffset = lastOffset.current + translationX;
const clampedTranslation = Math.min(0, translationX);
const newOffset = lastOffset.current + clampedTranslation;
if (newOffset < -80) {
Animated.spring(translateX, {