25-11-18/1
This commit is contained in:
@@ -249,16 +249,9 @@ class PassengerInfoWindow extends StatelessWidget {
|
||||
return MyElevatedButton(
|
||||
title: 'You Can Cancel the Trip and get Cost From '.tr +
|
||||
AppInformation.appName.tr,
|
||||
kolor: AppColor.deepPurpleAccent,
|
||||
kolor: AppColor.gold,
|
||||
onPressed: () {
|
||||
MyDialog().getDialog('Are you sure to cancel?'.tr, '', () async {
|
||||
// fcm.sendNotificationToDriverMAP(
|
||||
// 'Driver Cancelled Your Trip',
|
||||
// 'You will need to pay the cost to the driver, or it will be deducted from your next trip'
|
||||
// .tr,
|
||||
// controller.tokenPassenger,
|
||||
// [],
|
||||
// 'cancel.wav');
|
||||
NotificationService.sendNotification(
|
||||
target: controller.tokenPassenger.toString(),
|
||||
title: 'Driver Cancelled Your Trip'.tr,
|
||||
|
||||
Reference in New Issue
Block a user