Update: 2026-07-11 19:32:42

This commit is contained in:
Hamza-Ayed
2026-07-11 19:32:42 +03:00
parent 8353c4cef4
commit 9535d702d6
@@ -71,9 +71,9 @@ class RpActions {
_map.changeMainBottomMenuMap(); _map.changeMainBottomMenuMap();
_s.passengerStartLocationFromMap = true; _s.passengerStartLocationFromMap = true;
_map.isPickerShown = true; _map.isPickerShown = true;
_ride.getDirectionMap( _map.mapController?.animateCamera(
'${_s.passengerLocation.latitude},${_s.passengerLocation.longitude}', CameraUpdate.newLatLngZoom(_s.passengerLocation, 16),
'${_s.myDestination.latitude},${_s.myDestination.longitude}'); );
} }
} }
@@ -171,8 +171,8 @@ class RpActions {
'rate': 'N/A', 'rate': 'N/A',
}, TableName.placesFavorite); }, TableName.placesFavorite);
if (!context.mounted) return; if (!context.mounted) return;
Toast.show(context, '$title ${'Saved Successfully'.tr}', Toast.show(
AppColor.primaryColor); context, '$title ${'Saved Successfully'.tr}', AppColor.primaryColor);
} }
/// Route to a stored place (recent or favorite) after confirmation. /// Route to a stored place (recent or favorite) after confirmation.