Skip to content

Commit 460a3a0

Browse files
committed
update to handle 3-digit glucose (mg/dL)
1 parent 7b06f79 commit 460a3a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

live_activity/live_activity.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ index 00000000..2f5342e1
325325
+}
326326
diff --git a/Loop/Loop Widget Extension/Live Activity/GlucoseLiveActivityConfiguration.swift b/Loop/Loop Widget Extension/Live Activity/GlucoseLiveActivityConfiguration.swift
327327
new file mode 100644
328-
index 00000000..f1b24aec
328+
index 00000000..a66fa0b2
329329
--- /dev/null
330330
+++ b/Loop/Loop Widget Extension/Live Activity/GlucoseLiveActivityConfiguration.swift
331331
@@ -0,0 +1,265 @@
@@ -444,7 +444,7 @@ index 00000000..f1b24aec
444444
+ Spacer()
445445
+ Text("\(glucoseFormatter.string(from: context.state.currentGlucose) ?? "??")\(getArrowImage(context.state.trendType))")
446446
+ .foregroundStyle(getGlucoseColor(context.state.currentGlucose, context: context))
447-
+ .font(.title2)
447+
+ .font(.headline)
448448
+ .fontWeight(.heavy)
449449
+ }
450450
+ }

0 commit comments

Comments
 (0)