From 1f3cf6ba40c9385334836732f978696fd78e459a Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Fri, 29 Nov 2024 10:40:38 -0500 Subject: [PATCH] disable wear json for now --- lib/Backend/wear_bridge.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Backend/wear_bridge.dart b/lib/Backend/wear_bridge.dart index 34906d8e..d619b81a 100644 --- a/lib/Backend/wear_bridge.dart +++ b/lib/Backend/wear_bridge.dart @@ -79,7 +79,7 @@ Future updateWearActions(UpdateWearActionsRef ref) async { final WearData wearData = WearData(favoriteActions: favoriteMap, configuredTriggers: triggersMap, uiColor: HiveProxy.getOrDefault(settings, appColor, defaultValue: appColorDefault)); if (await _watch.isReachable) { - await _watch.updateApplicationContext(wearData.toJson()); + //await _watch.updateApplicationContext(wearData.toJson()); } } catch (e, s) { _wearLogger.severe("Unable to send favorite actions to watch", e, s); @@ -87,8 +87,6 @@ Future updateWearActions(UpdateWearActionsRef ref) async { } @freezed -// ignore: invalid_annotation_target -@JsonSerializable(explicitToJson: true) class WearData with _$WearData { const factory WearData({ required List favoriteActions,