This commit is contained in:
Hamza-Ayed
2024-06-18 12:17:24 +03:00
parent 95228ad855
commit a8921df473
14 changed files with 107 additions and 50 deletions

View File

@@ -29,7 +29,7 @@ class WalletCaptain extends StatelessWidget {
Get.put(CaptainWalletController());
@override
Widget build(BuildContext context) {
Get.put(MapDriverController()).totalPassenger = '0';
Get.put(MapDriverController()).totalPricePassenger = '0';
return MyScafolld(
title: 'Driver Wallet'.tr,
body: [
@@ -222,7 +222,7 @@ class WalletCaptain extends StatelessWidget {
),
),
confirm: MyElevatedButton(
title: 'Pay',
title: 'Pay'.tr,
onPressed: () async {
if (double.parse(
captainWalletController