mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-26 03:46:49 +01:00
Charts: Also count steps for not worn samples
The Mi Band 5 also seems to display those steps It could also be that the sample type is wrong in Gadgetbridge
This commit is contained in:
parent
092d527158
commit
bf9b45f964
@ -111,6 +111,10 @@ public class ActivityAnalysis {
|
||||
if (activity.getTotalSeconds() > 0) {
|
||||
result.addAmount(activity);
|
||||
}
|
||||
if (notWorn.getTotalSeconds() > 0) {
|
||||
result.addAmount(notWorn);
|
||||
}
|
||||
|
||||
result.calculatePercentages();
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user