Develop #5

Merged
SemvdH merged 62 commits from develop into main 2021-01-14 10:55:23 +00:00
Showing only changes of commit 036278f829 - Show all commits

View File

@@ -363,7 +363,7 @@ public class HomeFragment extends Fragment implements LocationListener {
if (currentLocation != null) {
double distance = currentLocation.distanceTo(location); // in meters
// can't walk 100 meters in a few seconds
if (distance < 100) {
if (distance < 100 && distance > 0.1) {
Data.INSTANCE.addDistance(distance);
Data.INSTANCE.setLocation(location);
}