Update codebase

This commit is contained in:
Hamza-Ayed
2026-08-09 16:56:13 +03:00
parent 95e2e4f35d
commit b64debaa88
1058 changed files with 164327 additions and 113928 deletions
@@ -163,6 +163,7 @@ class LocationSearchController extends GetxController {
];
readyWayPoints();
getLocation();
_listenForDeepLink();
}
void readyWayPoints() {
@@ -319,8 +320,7 @@ class LocationSearchController extends GetxController {
rideLifecycle.resetNoRideSearch();
}
Log.print(
'LocationSearchController: Reverse geocoding deferred — will run when map is idle.');
Log.print('LocationSearchController: Reverse geocoding deferred — will run when map is idle.');
OfflineMapService.instance
.downloadRegion(passengerLocation, radiusKm: 10.0);
@@ -507,13 +507,11 @@ class LocationSearchController extends GetxController {
target.longitude,
);
if (distanceDelta < 20.0) {
Log.print(
'📍 updateCurrentLocationFromCamera: Skipped (المسافة ${distanceDelta.toStringAsFixed(1)}م < 20م)');
Log.print('📍 updateCurrentLocationFromCamera: Skipped (المسافة ${distanceDelta.toStringAsFixed(1)}م < 20م)');
return;
}
Log.print(
'📍 updateCurrentLocationFromCamera: $target (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
Log.print('📍 updateCurrentLocationFromCamera: $target (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
newMyLocation = target;
if (_pendingGeocode) {
@@ -562,8 +560,7 @@ class LocationSearchController extends GetxController {
);
if (distanceDelta < 20.0) return;
Log.print(
'📸 onCameraMoveThrottled: ${pos.target} (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
Log.print('📸 onCameraMoveThrottled: ${pos.target} (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
int waypointsLength = Get.find<WayPointController>().wayPoints.length;
int index = wayPointIndex;
if (waypointsLength > 0 && index < placesCoordinate.length) {
@@ -904,8 +901,7 @@ class LocationSearchController extends GetxController {
mapEngine.heightBottomSheetShown = 250;
update();
mySnackbarInfo(
'Route and prices have been calculated successfully!'.tr);
mySnackbarInfo('Route and prices have been calculated successfully!'.tr);
}
} else {
Log.print('⚠️ Could not extract valid coordinates from link: $link');