From a20a5f8a4de299963dcf6ce311b00ef23b2074c3 Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Thu, 5 Dec 2024 20:17:44 -0500 Subject: [PATCH] resolve error checking if watch exists --- lib/Backend/wear_bridge.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Backend/wear_bridge.dart b/lib/Backend/wear_bridge.dart index d619b81a..211e7cb1 100644 --- a/lib/Backend/wear_bridge.dart +++ b/lib/Backend/wear_bridge.dart @@ -78,7 +78,7 @@ Future updateWearActions(UpdateWearActionsRef ref) async { final List triggersMap = triggers.map((e) => WearTriggerData(uuid: e.uuid, name: e.triggerDefinition!.name, enabled: e.enabled)).toList(); final WearData wearData = WearData(favoriteActions: favoriteMap, configuredTriggers: triggersMap, uiColor: HiveProxy.getOrDefault(settings, appColor, defaultValue: appColorDefault)); - if (await _watch.isReachable) { + if (await isReachable()) { //await _watch.updateApplicationContext(wearData.toJson()); } } catch (e, s) {