Skip to content

Commit e3d0dad

Browse files
committed
722 and 723
1 parent a4a8f33 commit e3d0dad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

LoopFollow/Controllers/Nightscout/DeviceStatus.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,13 @@ extension MainViewController {
103103
if let bolusIncrement = lastPumpRecord["bolusIncrement"] as? Double, bolusIncrement > 0 {
104104
Storage.shared.bolusIncrement.value = HKQuantity(unit: .internationalUnit(), doubleValue: bolusIncrement)
105105
Storage.shared.bolusIncrementDetected.value = true
106-
} else if let model = lastPumpRecord["model"] as? String, model == "Dash" {
106+
107+
} else if let model = lastPumpRecord["model"] as? String,
108+
["Dash", "723", "722"].contains(model)
109+
{
107110
Storage.shared.bolusIncrement.value = HKQuantity(unit: .internationalUnit(), doubleValue: 0.05)
108111
Storage.shared.bolusIncrementDetected.value = true
112+
109113
} else {
110114
Storage.shared.bolusIncrementDetected.value = false
111115
}

0 commit comments

Comments
 (0)