This commit is contained in:
Hamza-Ayed
2025-02-06 21:53:49 +03:00
parent a09bfbd646
commit 0997d9301f
10 changed files with 2425 additions and 892 deletions

View File

@@ -145,8 +145,8 @@ class PassengerWallet extends StatelessWidget {
Get.back(); // Close the dialog
box.write(
BoxName.phoneWallet,
controller
.walletphoneController.text);
(controller
.walletphoneController.text));
Toast.show(
context,
'Phone Wallet Saved Successfully'.tr,

View File

@@ -335,10 +335,8 @@ void showPaymentOptions(BuildContext context, PaymentController controller) {
color: CupertinoColors.activeGreen)),
onPressed: () async {
Get.back();
box.write(
BoxName.phoneWallet,
encryptionHelper.encryptData(
controller.walletphoneController.text));
box.write(BoxName.phoneWallet,
(controller.walletphoneController.text));
Toast.show(
context,
'Phone Wallet Saved Successfully'.tr,