This commit is contained in:
2025-07-25 17:30:11 -04:00
parent 310c120ca3
commit 3fd6887ce7
55 changed files with 1062 additions and 649 deletions

View File

@ -0,0 +1,35 @@
////
//// ExerciseProgressControlView.swift
//// Workouts
////
//// Created by rzen on 7/20/25 at 7:19 PM.
////
//// Copyright 2025 Rouslan Zenetl. All Rights Reserved.
////
//
//import SwiftUI
//import SwiftData
//
//
//
//
//
//
//// Detail view shown as the first item in the exercise progress carousel
//
//
//// Helper extension to safely access array elements
////extension Array {
//// subscript(safe index: Index) -> Element? {
//// return indices.contains(index) ? self[index] : nil
//// }
////}
//
////#Preview {
//// let container = AppContainer.preview
//// let workout = Workout(start: Date(), end: nil, split: nil)
//// let log = WorkoutLog(workout: workout, exerciseName: "Bench Press", date: Date(), sets: 3, reps: 10, weight: 135)
////
//// ExerciseProgressControlView(log: log)
//// .modelContainer(container)
////}