@@ -25,13 +25,13 @@ struct GlucoseTrendView: View {
switch minutes {
case ...5:
- return .loopGreen
+ return Color.loopGreen
case 5 ... 10:
- return .loopYellow
+ return Color.loopYellow
case 11...:
- return .loopRed
+ return Color.loopRed
default:
+ return Color.secondary
}
@@ -419,7 +419,7 @@ import WatchConnectivity
// Clear
pendingData.removeAll()
- // Done - but ensure this runs at least 2 sec, to avoid flickering
+ // Done - hide sync animation
DispatchQueue.main.async {
self.showSyncingAnimation = false