Update: 2026-06-12 01:23:54
This commit is contained in:
@@ -393,11 +393,11 @@ class PassengerDetailsPage extends StatelessWidget {
|
||||
onPressed: () {
|
||||
// Validate form safely
|
||||
if (controller.formPrizeKey.currentState?.validate() ?? false) {
|
||||
FirebaseMessagesController().sendNotificationToAnyWithoutData(
|
||||
controller.titleNotify.text,
|
||||
controller.bodyNotify.text,
|
||||
data['passengerToken'],
|
||||
'order.wav');
|
||||
// FirebaseMessagesController().sendNotificationToAnyWithoutData(
|
||||
// controller.titleNotify.text,
|
||||
// controller.bodyNotify.text,
|
||||
// data['passengerToken'],
|
||||
// 'order.wav');
|
||||
Get.back();
|
||||
Get.snackbar('Success', 'Notification sent successfully!',
|
||||
backgroundColor: Colors.green.withOpacity(0.2));
|
||||
|
||||
Reference in New Issue
Block a user