This commit is contained in:
Hamza-Ayed
2024-07-04 10:25:36 +03:00
parent a1e4325988
commit b5bc36e4be
4 changed files with 9 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ class CardSeferWalletDriver extends StatelessWidget {
// box.write(BoxName.cvvCode, 1111);
if (double.parse(
Get.find<CaptainWalletController>().totalAmountVisa) >
100) {
20) {
Get.defaultDialog(
barrierDismissible: false,
title: 'Do you want to collect your earnings?'.tr,
@@ -96,7 +96,7 @@ class CardSeferWalletDriver extends StatelessWidget {
.validate()) {
if (double.parse(Get.find<CaptainWalletController>()
.totalAmountVisa) >
100) {
20) {
Get.back();
String amountAfter5LE = (double.parse(
Get.find<CaptainWalletController>()
@@ -132,7 +132,7 @@ class CardSeferWalletDriver extends StatelessWidget {
} else {
{
Get.snackbar(
'${'The Amount is less than'.tr}${box.read(BoxName.countryCode) == 'Egypt' ? '100' : '20'}',
'${'The Amount is less than'.tr}${box.read(BoxName.countryCode) == 'Egypt' ? '20' : '20'}',
'',
backgroundColor: AppColor.yellowColor);
}