From 1bc7f4b877db642d1e4b46c96c959a730811c514 Mon Sep 17 00:00:00 2001 From: Paul Dickens Date: Fri, 30 Mar 2018 21:48:12 +1100 Subject: [PATCH] check glucose >= 40 --- xDripG5/Glucose.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xDripG5/Glucose.swift b/xDripG5/Glucose.swift index 54f1b892..42fa33e2 100644 --- a/xDripG5/Glucose.swift +++ b/xDripG5/Glucose.swift @@ -58,7 +58,7 @@ public struct Glucose { } public var glucose: HKQuantity? { - guard state.hasReliableGlucose else { + guard state.hasReliableGlucose && glucoseMessage.glucose >= 40 else { return nil }