Skip to content

Commit

Permalink
disable wear json for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Nov 29, 2024
1 parent 4bb307a commit 1f3cf6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Backend/wear_bridge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,14 @@ Future<void> 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);
}
}

@freezed
// ignore: invalid_annotation_target
@JsonSerializable(explicitToJson: true)
class WearData with _$WearData {
const factory WearData({
required List<WearActionData> favoriteActions,
Expand Down

0 comments on commit 1f3cf6b

Please sign in to comment.