25-12-1/1
This commit is contained in:
@@ -31,9 +31,9 @@ class PassengerWalletHistoryController extends GetxController {
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
MyDialog().getDialog('An error occurred'.tr, e.toString(), () {
|
||||
Get.back();
|
||||
});
|
||||
// MyDialog().getDialog('An error occurred'.tr, '', () {
|
||||
// Get.back();
|
||||
// });
|
||||
} finally {
|
||||
isLoading = false;
|
||||
update();
|
||||
|
||||
@@ -144,8 +144,9 @@ class PaymentController extends GetxController {
|
||||
// 'cancel',
|
||||
// );
|
||||
await NotificationService.sendNotification(
|
||||
category: 'Cancel',
|
||||
target: Get.find<MapPassengerController>().driverToken.toString(),
|
||||
title: 'Cancel',
|
||||
title: 'Cancel'.tr,
|
||||
body:
|
||||
'Trip Cancelled. The cost of the trip will be added to your wallet.'
|
||||
.tr,
|
||||
|
||||
Reference in New Issue
Block a user