@mentra/bluetooth-sdk 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2389,9 +2389,9 @@ public final class MentraBluetoothSDK {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
|
|
2391
2391
|
if changes.keys.contains(where: { ["connected", "fullyBooted", "connectionState"].contains($0) }) {
|
|
2392
|
-
merged["connected"] =
|
|
2393
|
-
merged["fullyBooted"] =
|
|
2394
|
-
merged["connectionState"] =
|
|
2392
|
+
merged["connected"] = DeviceStore.shared.get("glasses", "connected") as? Bool ?? false
|
|
2393
|
+
merged["fullyBooted"] = DeviceStore.shared.get("glasses", "fullyBooted") as? Bool ?? false
|
|
2394
|
+
merged["connectionState"] = DeviceStore.shared.get("glasses", "connectionState") as? String ?? "DISCONNECTED"
|
|
2395
2395
|
}
|
|
2396
2396
|
|
|
2397
2397
|
if changes["signalStrengthUpdatedAt"] != nil, changes["signalStrength"] == nil {
|