Просмотр исходного кода

Clear override text conditionally based on device

Jonas Björkert 1 год назад
Родитель
Сommit
a5a490cae9
1 измененных файлов с 1 добавлено и 1 удалено
  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" {