diff --git a/LibreLoop/LibreLoopCGMManager/LibreLoopCGMManager.swift b/LibreLoop/LibreLoopCGMManager/LibreLoopCGMManager.swift index ee8793d..1c5f42f 100644 --- a/LibreLoop/LibreLoopCGMManager/LibreLoopCGMManager.swift +++ b/LibreLoop/LibreLoopCGMManager/LibreLoopCGMManager.swift @@ -425,9 +425,9 @@ public final class LibreLoopCGMManager: CGMManager { } public var device: HKDevice? { - HKDevice(name: "FreeStyle Libre 3", + HKDevice(name: "FreeStyle \(state.sensorModel ?? "Libre 3")", manufacturer: "Abbott", - model: "Libre 3", + model: state.sensorModel, hardwareVersion: nil, firmwareVersion: state.firmwareVersion, softwareVersion: nil, diff --git a/LibreLoop/Pairing/LibreLoopCGMManager+Pairing.swift b/LibreLoop/Pairing/LibreLoopCGMManager+Pairing.swift index 6aa8405..cd8cbbc 100644 --- a/LibreLoop/Pairing/LibreLoopCGMManager+Pairing.swift +++ b/LibreLoop/Pairing/LibreLoopCGMManager+Pairing.swift @@ -1151,6 +1151,7 @@ extension LibreLoopCGMManager { delegateQueue?.async { [weak self] in guard let self else { return } self.cgmManagerDelegate?.cgmManagerDidUpdateState(self) + self.cgmManagerDelegate?.cgmManager(self, didUpdate: self.cgmManagerStatus) } notifyStateObservers() }