Skip to content

Commit

Permalink
Merge pull request #3543 from nielsvanvelzen/wear-g7
Browse files Browse the repository at this point in the history
Fix WearOS complication not working with G7
  • Loading branch information
jamorham committed Jun 28, 2024
2 parents c18ec34 + bb7aa09 commit 994b0ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 994b0ca

Please sign in to comment.