This commit is contained in:
Hamza-Ayed
2024-06-18 14:37:18 +03:00
parent a8921df473
commit 93cddb2fb2
11 changed files with 113 additions and 70 deletions

View File

@@ -29,7 +29,7 @@ class WalletCaptain extends StatelessWidget {
Get.put(CaptainWalletController());
@override
Widget build(BuildContext context) {
Get.put(MapDriverController()).totalPricePassenger = '0';
// Get.put(MapDriverController()).totalPricePassenger = '0';
return MyScafolld(
title: 'Driver Wallet'.tr,
body: [
@@ -424,8 +424,8 @@ class WalletCaptain extends StatelessWidget {
],
isleading: true,
action: InkWell(
onTap: () {
captainWalletController.getCaptainWalletFromBuyPoints();
onTap: () async {
captainWalletController.refreshCaptainWallet();
},
child: const Icon(Icons.refresh)),
);