This commit is contained in:
Hamza-Ayed
2024-07-02 00:16:16 +03:00
parent 94d70237ff
commit b271101979
26 changed files with 128 additions and 31 deletions

View File

@@ -110,12 +110,13 @@ class FirebaseMessagesController extends GetxController {
'body': message.notification!.body
});
} else if (message.notification!.title == 'Cancel Trip'.tr) {
NotificationController().showNotification(
'Cancel Trip'.tr, 'Passenger Cancel Trip'.tr, 'cancel');
// NotificationController().showNotification(
// 'Cancel Trip'.tr, 'Passenger Cancel Trip'.tr, 'cancel');
cancelTripDialog();
} else if (message.notification!.title! == 'token change'.tr) {
NotificationController()
.showNotification('token change'.tr, 'token change', 'cancel');
// NotificationController()
// .showNotification('token change'.tr, 'token change', 'cancel');
// GoogleSignInHelper.signOut();
GoogleSignInHelper.signOut();
} else if (message.notification!.title! == 'message From passenger'.tr) {
NotificationController()