Remove the duplicate exercise list screen and dead reorder stubs

ExerciseListView was a near-duplicate of RoutineDetailView's exercise
management, reachable only from RoutineAddEditView's "Exercises" row —
drop both, leaving RoutineDetailView as the single exercise manager.
OrderableItem and SortableForEach were self-declared dead stubs.

Claude-Session: https://claude.ai/code/session_01H8VxUX4ckjU3vRF5M4L5FV
This commit is contained in:
2026-07-15 10:38:35 -04:00
parent c39eeda9df
commit ce4c581bd0
4 changed files with 1 additions and 230 deletions
@@ -160,18 +160,7 @@ struct RoutineAddEditView: View {
}
}
if let routine = routine {
Section(header: Text("Exercises")) {
NavigationLink {
ExerciseListView(routine: routine)
} label: {
ListItem(
text: "Exercises",
count: routine.exercisesArray.count
)
}
}
if routine != nil {
Section {
Button("Delete Routine", role: .destructive) {
showingDeleteConfirmation = true