|
@@ -15,12 +15,14 @@ struct LiveActivityBGLabelWatchView: View {
|
|
|
var body: some View {
|
|
var body: some View {
|
|
|
HStack {
|
|
HStack {
|
|
|
Text(context.state.bg)
|
|
Text(context.state.bg)
|
|
|
|
|
+ .bold()
|
|
|
.font(.callout)
|
|
.font(.callout)
|
|
|
.foregroundStyle(context.isStale ? .secondary : glucoseColor)
|
|
.foregroundStyle(context.isStale ? .secondary : glucoseColor)
|
|
|
.strikethrough(context.isStale, pattern: .solid, color: .red.opacity(0.6))
|
|
.strikethrough(context.isStale, pattern: .solid, color: .red.opacity(0.6))
|
|
|
|
|
|
|
|
if let trendArrow = context.state.direction {
|
|
if let trendArrow = context.state.direction {
|
|
|
Text(trendArrow)
|
|
Text(trendArrow)
|
|
|
|
|
+ .bold()
|
|
|
.font(.callout)
|
|
.font(.callout)
|
|
|
.foregroundStyle(context.isStale ? .secondary : glucoseColor)
|
|
.foregroundStyle(context.isStale ? .secondary : glucoseColor)
|
|
|
.strikethrough(context.isStale, pattern: .solid, color: .red.opacity(0.6))
|
|
.strikethrough(context.isStale, pattern: .solid, color: .red.opacity(0.6))
|