Added a proper set of Unit Tests for each sub-project
All checks were successful
OpenClimb Docker Deploy / build-and-push (push) Successful in 2m28s
All checks were successful
OpenClimb Docker Deploy / build-and-push (push) Successful in 2m28s
This commit is contained in:
@@ -20,7 +20,7 @@ struct ClimbingActivityWidget: Widget {
|
||||
DynamicIsland {
|
||||
// Expanded UI goes here
|
||||
DynamicIslandExpandedRegion(.leading) {
|
||||
Text("🧗♂️")
|
||||
Text("CLIMB")
|
||||
.font(.title2)
|
||||
}
|
||||
DynamicIslandExpandedRegion(.trailing) {
|
||||
@@ -39,12 +39,12 @@ struct ClimbingActivityWidget: Widget {
|
||||
.font(.caption)
|
||||
}
|
||||
} compactLeading: {
|
||||
Text("🧗♂️")
|
||||
Text("CLIMB")
|
||||
} compactTrailing: {
|
||||
Text("\(context.state.totalAttempts)")
|
||||
.monospacedDigit()
|
||||
} minimal: {
|
||||
Text("🧗♂️")
|
||||
Text("CLIMB")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -56,7 +56,7 @@ struct LiveActivityView: View {
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
HStack {
|
||||
Text("🧗♂️ \(context.attributes.gymName)")
|
||||
Text("CLIMBING: \(context.attributes.gymName)")
|
||||
.font(.headline)
|
||||
.lineLimit(1)
|
||||
Spacer()
|
||||
|
||||
Reference in New Issue
Block a user