mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-26 16:41:43 +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,"averageHR",3,"mm");
|
||||||
summaryData = addSummaryData(summaryData,"maxHR",3,"mm");
|
summaryData = addSummaryData(summaryData,"maxHR",3,"mm");
|
||||||
summaryData = addSummaryData(summaryData,"minHR",3,"mm");
|
summaryData = addSummaryData(summaryData,"minHR",3,"mm");
|
||||||
summaryData = addSummaryData(summaryData,"averageStride",3,"mm");
|
if (storedLogObject.has("Latitude") && storedLogObject.has("Steps")) {
|
||||||
summaryData = addSummaryData(summaryData,"maxStride",3,"mm");
|
summaryData = addSummaryData(summaryData, "averageStride", 3, "mm");
|
||||||
summaryData = addSummaryData(summaryData,"minStride",3,"mm");
|
summaryData = addSummaryData(summaryData, "maxStride", 3, "mm");
|
||||||
|
summaryData = addSummaryData(summaryData, "minStride", 3, "mm");
|
||||||
|
}
|
||||||
// put("HeartRateZones", Arrays.asList(
|
// put("HeartRateZones", Arrays.asList(
|
||||||
// "hrZoneNa", "hrZoneWarmUp", "hrZoneFatBurn", "hrZoneAerobic", "hrZoneAnaerobic",
|
// "hrZoneNa", "hrZoneWarmUp", "hrZoneFatBurn", "hrZoneAerobic", "hrZoneAnaerobic",
|
||||||
// "hrZoneExtreme"
|
// "hrZoneExtreme"
|
||||||
|
Loading…
Reference in New Issue
Block a user