This commit is contained in:
Hamza-Ayed
2024-02-04 23:53:13 +03:00
parent 87da645ae5
commit 481eff94c2
24 changed files with 708 additions and 332 deletions

View File

@@ -73,6 +73,8 @@ class CaptainWalletController extends GetxController {
//check if account bank is created or not
Future checkAccountCaptainBank() async {
isLoading = false;
update();
if (box.read(BoxName.accountIdStripeConnect).toString().isEmpty) {
var res = await CRUD().get(link: AppLink.getAccount, payload: {
'id': box.read(BoxName.driverID).toString(),
@@ -83,6 +85,8 @@ class CaptainWalletController extends GetxController {
d['message'][0]['accountBank'].toString());
}
}
isLoading = true;
update();
}
@override