mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +01:00
Bangle.js:don't show stride if not sufficient data
This commit is contained in:
parent
6d82980cc3
commit
eec3d2b89a
@ -972,9 +972,11 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
summaryData = addSummaryData(summaryData,"averageHR",3,"mm");
|
||||
summaryData = addSummaryData(summaryData,"maxHR",3,"mm");
|
||||
summaryData = addSummaryData(summaryData,"minHR",3,"mm");
|
||||
summaryData = addSummaryData(summaryData,"averageStride",3,"mm");
|
||||
summaryData = addSummaryData(summaryData,"maxStride",3,"mm");
|
||||
summaryData = addSummaryData(summaryData,"minStride",3,"mm");
|
||||
if (storedLogObject.has("Latitude") && storedLogObject.has("Steps")) {
|
||||
summaryData = addSummaryData(summaryData, "averageStride", 3, "mm");
|
||||
summaryData = addSummaryData(summaryData, "maxStride", 3, "mm");
|
||||
summaryData = addSummaryData(summaryData, "minStride", 3, "mm");
|
||||
}
|
||||
// put("HeartRateZones", Arrays.asList(
|
||||
// "hrZoneNa", "hrZoneWarmUp", "hrZoneFatBurn", "hrZoneAerobic", "hrZoneAnaerobic",
|
||||
// "hrZoneExtreme"
|
||||
|
Loading…
Reference in New Issue
Block a user