From bb7aa09db8de70d3a040159e374c379906318cad Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sun, 16 Jun 2024 22:25:51 +0200 Subject: [PATCH] Fix WearOS complication not working with G7 --- .../main/java/com/eveningoutpost/dexdrip/ListenerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wear/src/main/java/com/eveningoutpost/dexdrip/ListenerService.java b/wear/src/main/java/com/eveningoutpost/dexdrip/ListenerService.java index cd7a9617f5..b0a5ce2e92 100644 --- a/wear/src/main/java/com/eveningoutpost/dexdrip/ListenerService.java +++ b/wear/src/main/java/com/eveningoutpost/dexdrip/ListenerService.java @@ -2418,7 +2418,7 @@ private synchronized void syncBgData(DataMap dataMap, Context context) {//KS changed = true; bgData.save(); } else { - if (bgData.source_info != null && (bgData.source_info.contains("Native") || bgData.source_info.contains("Follow"))) { + if (bgData.source_info != null && (bgData.source_info.contains("Native") || bgData.source_info.contains("Follow") || bgData.source_info.contains("G7"))) { UserError.Log.d(TAG, "Saving BgData without calibration as source info is native or follow"); bgData.sensor = sensor; bgData.sensor_uuid = sensor.uuid;