fix(watch): remove default list row backgrounds for cleaner UI
This commit is contained in:
@@ -18,6 +18,7 @@ struct WorkoutSummaryView: View {
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.vertical, 8)
|
||||
.listRowBackground(.clear)
|
||||
}
|
||||
|
||||
Section("Stats") {
|
||||
@@ -28,6 +29,7 @@ struct WorkoutSummaryView: View {
|
||||
Text(formatTime(summary.duration))
|
||||
.monospacedDigit()
|
||||
}
|
||||
.listRowBackground(.clear)
|
||||
|
||||
HStack {
|
||||
Text("Distance")
|
||||
@@ -36,6 +38,7 @@ struct WorkoutSummaryView: View {
|
||||
Text("\(summary.totalDistance)m")
|
||||
.monospacedDigit()
|
||||
}
|
||||
.listRowBackground(.clear)
|
||||
|
||||
HStack {
|
||||
Text("Calories")
|
||||
@@ -44,6 +47,7 @@ struct WorkoutSummaryView: View {
|
||||
Text("\(summary.calories)kcal")
|
||||
.monospacedDigit()
|
||||
}
|
||||
.listRowBackground(.clear)
|
||||
|
||||
HStack {
|
||||
Text("Laps")
|
||||
@@ -52,6 +56,7 @@ struct WorkoutSummaryView: View {
|
||||
Text("\(summary.laps.count)")
|
||||
.monospacedDigit()
|
||||
}
|
||||
.listRowBackground(.clear)
|
||||
}
|
||||
|
||||
Section {
|
||||
|
||||
Reference in New Issue
Block a user