Update: 2026-06-26 17:29:23
This commit is contained in:
@@ -79,10 +79,10 @@ class CaptainWalletController extends GetxController {
|
||||
'',
|
||||
);
|
||||
} else {
|
||||
mySnackeBarError(mapRes['message']?.toString() ?? 'Error');
|
||||
mySnackbarError(mapRes['message']?.toString() ?? 'Error');
|
||||
}
|
||||
} else {
|
||||
mySnackeBarError('Error processing request'.tr);
|
||||
mySnackbarError('Error processing request'.tr);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -113,10 +113,10 @@ class CaptainWalletController extends GetxController {
|
||||
amountToNewDriverMap = d['data'];
|
||||
// update();
|
||||
} else {
|
||||
mySnackeBarError("This driver is not registered".tr);
|
||||
mySnackbarError("This driver is not registered".tr);
|
||||
}
|
||||
} else {
|
||||
mySnackeBarError('Your Budget less than needed'.tr);
|
||||
mySnackbarError('Your Budget less than needed'.tr);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -250,7 +250,7 @@ class CaptainWalletController extends GetxController {
|
||||
}
|
||||
} else {
|
||||
Get.back();
|
||||
mySnackeBarError(
|
||||
mySnackbarError(
|
||||
"A promotion record for this driver already exists for today.".tr);
|
||||
}
|
||||
}
|
||||
@@ -314,10 +314,10 @@ class CaptainWalletController extends GetxController {
|
||||
await refreshCaptainWallet();
|
||||
}));
|
||||
} else {
|
||||
mySnackeBarError(mapRes['message']?.toString() ?? 'Error');
|
||||
mySnackbarError(mapRes['message']?.toString() ?? 'Error');
|
||||
}
|
||||
} else {
|
||||
mySnackeBarError('Error processing request'.tr);
|
||||
mySnackbarError('Error processing request'.tr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user