Quellcode durchsuchen

Clear override text conditionally based on device

Jonas Björkert vor 1 Jahr
Ursprung
Commit
a5a490cae9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      LoopFollow/Controllers/Nightscout/DeviceStatus.swift

+ 1 - 1
LoopFollow/Controllers/Nightscout/DeviceStatus.swift

@@ -72,7 +72,7 @@ extension MainViewController {
 
     // NS Device Status Response Processor
     func updateDeviceStatusDisplay(jsonDeviceStatus: [[String: AnyObject]]) {
-        infoManager.clearInfoData(types: [.iob, .cob, .override, .battery, .pump, .target, .isf, .carbRatio, .updated, .recBolus, .tdd])
+        infoManager.clearInfoData(types: [.iob, .cob, .battery, .pump, .target, .isf, .carbRatio, .updated, .recBolus, .tdd])
 
         // For Loop, clear the current override here - For Trio, it is handled using treatments
         if Storage.shared.device.value == "Loop" {