Remove 'All Workouts' section from HomeTab

This commit is contained in:
Millian Lamiaux
2026-04-21 22:04:56 +02:00
parent 89cca25e22
commit 2413bc0356

View File

@@ -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()