From 20011d163714a005eb43fcfbd34eb4f48ff70e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Bj=C3=B6rkert?= Date: Sun, 5 Oct 2025 14:25:26 +0200 Subject: [PATCH] Remove usage of insulinReqMetric --- .../Controllers/Nightscout/DeviceStatusOpenAPS.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/LoopFollow/Controllers/Nightscout/DeviceStatusOpenAPS.swift b/LoopFollow/Controllers/Nightscout/DeviceStatusOpenAPS.swift index 3ad58ae6e..1756c6cac 100644 --- a/LoopFollow/Controllers/Nightscout/DeviceStatusOpenAPS.swift +++ b/LoopFollow/Controllers/Nightscout/DeviceStatusOpenAPS.swift @@ -116,14 +116,6 @@ extension MainViewController { } } - // Insulin Required - if let insulinReqMetric = InsulinMetric(from: enactedOrSuggested, key: "insulinReq") { - infoManager.updateInfoData(type: .recBolus, value: insulinReqMetric) - Observable.shared.deviceRecBolus.value = insulinReqMetric.value - } else { - Observable.shared.deviceRecBolus.value = 0 - } - // Autosens if let sens = enactedOrSuggested["sensitivityRatio"] as? Double { let formattedSens = String(format: "%.0f", sens * 100.0) + "%"