Update: 2026-06-26 17:29:23
This commit is contained in:
@@ -431,7 +431,7 @@ class PaymentController extends GetxController {
|
||||
try {
|
||||
final phone = box.read(BoxName.phoneWallet) ?? walletphoneController.text.trim();
|
||||
if (phone.isEmpty) {
|
||||
mySnackeBarError('Please enter a phone number'.tr);
|
||||
mySnackbarError('Please enter a phone number'.tr);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -465,11 +465,11 @@ class PaymentController extends GetxController {
|
||||
amount: double.parse(amount),
|
||||
));
|
||||
} else {
|
||||
mySnackeBarError(resMap['message']?.toString() ?? 'Failed to create invoice'.tr);
|
||||
mySnackbarError(resMap['message']?.toString() ?? 'Failed to create invoice'.tr);
|
||||
}
|
||||
} catch (e) {
|
||||
if (Get.isDialogOpen ?? false) Get.back();
|
||||
mySnackeBarError(e.toString());
|
||||
mySnackbarError(e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user