Explorar o código

clear compare when new watchface/datafield gets registered

Robert hai 4 meses
pai
achega
4ef4ad9cf4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Trio/Sources/Services/WatchManager/GarminManager.swift

+ 4 - 0
Trio/Sources/Services/WatchManager/GarminManager.swift

@@ -708,6 +708,10 @@ final class BaseGarminManager: NSObject, GarminManager, Injectable {
     private func registerDevices(_ devices: [IQDevice]) {
         watchApps.removeAll()
 
+        // Reset broadcast hash so newly registered apps receive data
+        // Without this, hash deduplication could skip sending to new apps if data unchanged
+        lastSentDataHash = nil
+
         for device in devices {
             connectIQ?.register(forDeviceEvents: device, delegate: self)