This commit is contained in:
Hamza-Ayed
2024-11-04 06:18:19 +02:00
parent 229646d664
commit c9ac8da2ec
15 changed files with 388 additions and 24 deletions

View File

@@ -364,7 +364,7 @@ class MapDriverController extends GetxController {
double _distance =
await calculateDistanceBetweenDriverAndPassengerLocation();
if (_distance < 70) {
if (_distance < 400) {
changeRideToBeginToPassenger();
isPassengerInfoWindow = false;
isRideStarted = true;
@@ -400,7 +400,7 @@ class MapDriverController extends GetxController {
// var d = jsonDecode(res);
update();
Get.back();
// Get.back();
// Start updating location and moving camera
// updateLocation();
} else {