Skip to content

Commit

Permalink
resolve error checking if watch exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Dec 6, 2024
1 parent 1f33419 commit a20a5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backend/wear_bridge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Future<void> updateWearActions(UpdateWearActionsRef ref) async {
final List<WearTriggerData> 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) {
Expand Down

0 comments on commit a20a5f8

Please sign in to comment.