fix(watch): remove default list row backgrounds for cleaner UI
This commit is contained in:
@@ -42,6 +42,7 @@ struct WorkoutListView: View {
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.vertical, 20)
|
||||
.listRowBackground(.clear)
|
||||
}
|
||||
} else {
|
||||
Section("Saved Workouts") {
|
||||
@@ -64,6 +65,7 @@ struct WorkoutListView: View {
|
||||
.font(.caption)
|
||||
}
|
||||
}
|
||||
.listRowBackground(.clear)
|
||||
}
|
||||
.onDelete { indexSet in
|
||||
workoutManager.deleteSavedWorkouts(at: indexSet)
|
||||
@@ -87,6 +89,7 @@ struct WorkoutListView: View {
|
||||
.foregroundColor(.green)
|
||||
.font(.caption)
|
||||
}
|
||||
.listRowBackground(.clear)
|
||||
}
|
||||
.onDelete { indexSet in
|
||||
workoutManager.deleteCompletedWorkouts(at: indexSet)
|
||||
|
||||
Reference in New Issue
Block a user