From 0d679fa07e2405d1893804b38aba6f74eaeb731d Mon Sep 17 00:00:00 2001 From: marionbarker Date: Sun, 3 May 2026 12:57:05 -0700 Subject: [PATCH] support use of OmnipodKit; * when OmniBLE or OmniKit was used to start pod, this code allows OmnipodKit to control pod, * this is a one-way trip from OmniXXX to OmnipodKit for that pod --- Loop/Managers/DeviceDataManager.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Loop/Managers/DeviceDataManager.swift b/Loop/Managers/DeviceDataManager.swift index e928c5e2d0..c0e2e856e9 100644 --- a/Loop/Managers/DeviceDataManager.swift +++ b/Loop/Managers/DeviceDataManager.swift @@ -535,6 +535,12 @@ final class DeviceDataManager { return nil } + // ensure the OmnipodKit Pump manager captures pod information + let OmniStr = "Omni" + if managerIdentifier.hasPrefix(OmniStr) { + return pumpManagerTypeByIdentifier(OmniStr) + } + return pumpManagerTypeByIdentifier(managerIdentifier) }