We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebea1a2 commit 647b0fdCopy full SHA for 647b0fd
KonditionExpo/app/(tabs)/history.tsx
@@ -222,10 +222,13 @@ const WorkoutHistoryScreen = () => {
222
<View style={styles.header}>
223
<Text style={styles.headerTitle}>Workout History</Text>
224
<Text style={styles.headerSubtitle}>
225
- {workouts.length} {workouts.length === 1 ? 'workout' : 'workouts'} completed
+ {workouts.length} Total —{" "}
226
+ {workouts.filter(w => !w.is_completed).length} In Progress —{" "}
227
+ {workouts.filter(w => w.is_completed).length} Finished
228
</Text>
229
</View>
230
231
+
232
<ScrollView
233
style={styles.scrollView}
234
contentContainerStyle={styles.scrollContent}
0 commit comments