This commit is contained in:
Hamza-Ayed
2024-02-22 16:19:45 +03:00
parent 9d839f02ae
commit a9f557ca83
85 changed files with 9196 additions and 494 deletions

View File

@@ -44,6 +44,7 @@ class MapDriverController extends GetxController {
late String step3;
late String step4;
late String passengerWalletBurc;
late String timeOfOrder;
late String duration;
late String totalCost;
late String distance;
@@ -365,7 +366,7 @@ class MapDriverController extends GetxController {
if (res != 'failure') {
Get.snackbar(
'You will get cost of your work for this trip'.tr,
'you gain $cost \$ in your wallet',
'${'you gain'.tr} $cost \$${' in your wallet'.tr}',
backgroundColor: AppColor.deepPurpleAccent,
);
}
@@ -733,6 +734,7 @@ class MapDriverController extends GetxController {
step3 = Get.arguments['step3'];
step4 = Get.arguments['step4'];
passengerWalletBurc = Get.arguments['passengerWalletBurc'];
timeOfOrder = Get.arguments['timeOfOrder'];
var coords = passengerLocation.split(',');
var coordDestination = passengerDestination.split(',');