Remove 'All Workouts' section from HomeTab
This commit is contained in:
@@ -87,22 +87,6 @@ struct HomeTab: View {
|
||||
.padding(.horizontal)
|
||||
}
|
||||
|
||||
// ── All Programs ──
|
||||
if !vm.allPrograms.isEmpty {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
SectionHeader(title: "All Workouts")
|
||||
.padding(.horizontal)
|
||||
|
||||
LazyVStack(spacing: 12) {
|
||||
ForEach(vm.allPrograms) { program in
|
||||
ProgramRow(program: program)
|
||||
.onTapGesture { selectedProgram = program }
|
||||
.padding(.horizontal)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── Loading / Error State ──
|
||||
if vm.isLoading {
|
||||
ProgressView()
|
||||
|
||||
Reference in New Issue
Block a user