|
@@ -326,7 +326,7 @@ final class BaseWatchManager: NSObject, WCSessionDelegate, Injectable, WatchMana
|
|
|
glucoseLast = glucoseLast.asMmolL
|
|
glucoseLast = glucoseLast.asMmolL
|
|
|
glucoseSecondLast = glucoseSecondLast.asMmolL
|
|
glucoseSecondLast = glucoseSecondLast.asMmolL
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
let deltaValue = glucoseLast - glucoseSecondLast
|
|
let deltaValue = glucoseLast - glucoseSecondLast
|
|
|
let formattedDelta = Formatter.glucoseFormatter(for: self.units)
|
|
let formattedDelta = Formatter.glucoseFormatter(for: self.units)
|
|
|
.string(from: deltaValue as NSNumber) ?? "0"
|
|
.string(from: deltaValue as NSNumber) ?? "0"
|