sync changes

This commit is contained in:
2026-05-12 11:25:19 +03:00
parent 3616f84556
commit fdc5aefdd2
25 changed files with 313 additions and 152 deletions

View File

@@ -55,10 +55,11 @@ class ScooterDetailModalBloc
final routes = await _getPedestrianRoutesUsecase(
Point(latitude: event.userLatitude, longitude: event.userLongitude),
Point(latitude: scooter.latitude, longitude: scooter.longitude),
Point(latitude: scooter.longitude, longitude: scooter.latitude),
);
final distance = routes?.firstOrNull?.metadata.weight.walkingDistance.value;
print("Distance is: $distance");
final time = routes?.firstOrNull?.metadata.weight.time.value;
if (result is Success<Scooter>) {