|
@@ -52,7 +52,7 @@ struct LiveActivityView: View {
|
|
|
context: context,
|
|
context: context,
|
|
|
glucoseColor: .primary
|
|
glucoseColor: .primary
|
|
|
)
|
|
)
|
|
|
- LiveActivityUpdatedLabelView(context: context, isDetailedLayout: false, isWatchOS: true)
|
|
|
|
|
|
|
+ LiveActivityUpdatedLabelView(context: context, isDetailedLayout: false)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.addLiveActivityModifiers(isWatchOS: true)
|
|
.addLiveActivityModifiers(isWatchOS: true)
|
|
@@ -112,7 +112,7 @@ struct LiveActivityView: View {
|
|
|
case .cob:
|
|
case .cob:
|
|
|
LiveActivityCOBLabelView(context: context, additionalState: context.state.detailedViewState)
|
|
LiveActivityCOBLabelView(context: context, additionalState: context.state.detailedViewState)
|
|
|
case .updatedLabel:
|
|
case .updatedLabel:
|
|
|
- LiveActivityUpdatedLabelView(context: context, isDetailedLayout: true, isWatchOS: false)
|
|
|
|
|
|
|
+ LiveActivityUpdatedLabelView(context: context, isDetailedLayout: true)
|
|
|
case .totalDailyDose:
|
|
case .totalDailyDose:
|
|
|
LiveActivityTotalDailyDoseView(
|
|
LiveActivityTotalDailyDoseView(
|
|
|
context: context,
|
|
context: context,
|
|
@@ -152,7 +152,7 @@ struct LiveActivityView: View {
|
|
|
context: context,
|
|
context: context,
|
|
|
glucoseColor: hasStaticColorScheme ? .primary : glucoseColor
|
|
glucoseColor: hasStaticColorScheme ? .primary : glucoseColor
|
|
|
).font(.title3)
|
|
).font(.title3)
|
|
|
- LiveActivityUpdatedLabelView(context: context, isDetailedLayout: false, isWatchOS: false)
|
|
|
|
|
|
|
+ LiveActivityUpdatedLabelView(context: context, isDetailedLayout: false)
|
|
|
.font(.caption)
|
|
.font(.caption)
|
|
|
.foregroundStyle(.primary.opacity(0.7))
|
|
.foregroundStyle(.primary.opacity(0.7))
|
|
|
}
|
|
}
|
|
@@ -202,7 +202,8 @@ struct LiveActivityExpandedCenterView: View {
|
|
|
var context: ActivityViewContext<LiveActivityAttributes>
|
|
var context: ActivityViewContext<LiveActivityAttributes>
|
|
|
|
|
|
|
|
var body: some View {
|
|
var body: some View {
|
|
|
- LiveActivityUpdatedLabelView(context: context, isDetailedLayout: false, isWatchOS: false).font(Font.caption)
|
|
|
|
|
|
|
+ LiveActivityUpdatedLabelView(context: context, isDetailedLayout: false)
|
|
|
|
|
+ .font(Font.caption)
|
|
|
.foregroundStyle(Color.secondary)
|
|
.foregroundStyle(Color.secondary)
|
|
|
.addIsWatchOS()
|
|
.addIsWatchOS()
|
|
|
}
|
|
}
|