10/18/3
This commit is contained in:
@@ -62,12 +62,14 @@ class PassengerWallet extends StatelessWidget {
|
||||
child:
|
||||
box.read(BoxName.passengerWalletTotal) == null
|
||||
? Text(
|
||||
'You Dont Have Any amount in ${AppInfo.appName} Wallet!'
|
||||
.tr,
|
||||
'You Dont Have Any amount in'.tr +
|
||||
' ${AppInfo.appName}' +
|
||||
'Wallet!'.tr,
|
||||
style: AppStyle.title,
|
||||
)
|
||||
: Text(
|
||||
'You Have ${box.read(BoxName.passengerWalletTotal).toString()} JD in ${AppInfo.appName} Wallet',
|
||||
'You Have'.tr +
|
||||
' ${box.read(BoxName.passengerWalletTotal).toString()} JD in ${AppInfo.appName} Wallet',
|
||||
style: AppStyle.title,
|
||||
),
|
||||
),
|
||||
@@ -194,7 +196,7 @@ class PassengerWallet extends StatelessWidget {
|
||||
left: Get.width * .3,
|
||||
right: Get.width * .3,
|
||||
child: MyElevatedButton(
|
||||
title: 'Show Promos',
|
||||
title: 'Show Promos'.tr,
|
||||
onPressed: () {
|
||||
controller.changePromoSheetDialogue();
|
||||
},
|
||||
@@ -313,7 +315,7 @@ class PassengerWallet extends StatelessWidget {
|
||||
)),
|
||||
const Spacer(),
|
||||
MyElevatedButton(
|
||||
title: 'Pay with Your PayPal',
|
||||
title: 'Pay with Your PayPal'.tr,
|
||||
onPressed: () {
|
||||
if (controller.selectedAmount != 0) {
|
||||
print(controller.selectedAmount);
|
||||
@@ -489,7 +491,7 @@ class PassengerWallet extends StatelessWidget {
|
||||
},
|
||||
),
|
||||
MyElevatedButton(
|
||||
title: 'Cancel',
|
||||
title: 'Cancel'.tr,
|
||||
kolor: AppColor.redColor,
|
||||
onPressed: () {
|
||||
controller.changePromoSheetDialogue();
|
||||
|
||||
Reference in New Issue
Block a user