Compare commits
2 Commits
dff9f3a6f9
...
6377df1f69
Author | SHA1 | Date |
---|---|---|
Johan Degraeve | 6377df1f69 | |
Paul Plant | e2b4b1b51e |
|
@ -76,6 +76,7 @@ enum ConstantsGlucoseChartSwiftUI {
|
||||||
static let viewHeightWatchAccessoryRectangular: CGFloat = 55
|
static let viewHeightWatchAccessoryRectangular: CGFloat = 55
|
||||||
static let hoursToShowWatchAccessoryRectangular: Double = 5
|
static let hoursToShowWatchAccessoryRectangular: Double = 5
|
||||||
static let glucoseCircleDiameterWatchAccessoryRectangular: Double = 14
|
static let glucoseCircleDiameterWatchAccessoryRectangular: Double = 14
|
||||||
|
static let backgroundColorWatchAccessoryRectangular: Color = .clear
|
||||||
|
|
||||||
// watch complication sizes for smaller watches
|
// watch complication sizes for smaller watches
|
||||||
static let viewWidthWatchAccessoryRectangularSmall: CGFloat = 160
|
static let viewWidthWatchAccessoryRectangularSmall: CGFloat = 160
|
||||||
|
|
|
@ -144,6 +144,8 @@ public enum GlucoseChartType: Int, CaseIterable {
|
||||||
switch self {
|
switch self {
|
||||||
case .siriGlucoseIntent:
|
case .siriGlucoseIntent:
|
||||||
return ConstantsGlucoseChartSwiftUI.backgroundColorSiriGlucoseIntent
|
return ConstantsGlucoseChartSwiftUI.backgroundColorSiriGlucoseIntent
|
||||||
|
case .watchAccessoryRectangular:
|
||||||
|
return ConstantsGlucoseChartSwiftUI.backgroundColorWatchAccessoryRectangular
|
||||||
default:
|
default:
|
||||||
return .black
|
return .black
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue