refactor(watch): remove .listRowBackground(.clear) modifiers

This commit is contained in:
2026-08-09 18:19:38 +02:00
parent 1387d6bbdb
commit 8f96a12b18
4 changed files with 10266 additions and 10276 deletions
@@ -34,7 +34,6 @@ struct WorkoutDetailView: View {
.font(.caption)
.foregroundColor(.secondary)
}
.listRowBackground(.clear)
}
}
@@ -59,7 +58,6 @@ struct WorkoutDetailView: View {
.font(.caption)
.foregroundColor(.secondary)
.frame(maxWidth: .infinity)
.listRowBackground(.clear)
}
}
}
@@ -18,7 +18,6 @@ struct WorkoutSummaryView: View {
}
.frame(maxWidth: .infinity)
.padding(.vertical, 8)
.listRowBackground(.clear)
}
Section("Stats") {
@@ -29,7 +28,6 @@ struct WorkoutSummaryView: View {
Text(formatTime(summary.duration))
.monospacedDigit()
}
.listRowBackground(.clear)
HStack {
Text("Distance")
@@ -38,7 +36,6 @@ struct WorkoutSummaryView: View {
Text("\(summary.totalDistance)m")
.monospacedDigit()
}
.listRowBackground(.clear)
HStack {
Text("Calories")
@@ -47,7 +44,6 @@ struct WorkoutSummaryView: View {
Text("\(summary.calories)kcal")
.monospacedDigit()
}
.listRowBackground(.clear)
HStack {
Text("Laps")
@@ -56,7 +52,6 @@ struct WorkoutSummaryView: View {
Text("\(summary.laps.count)")
.monospacedDigit()
}
.listRowBackground(.clear)
}
Section {