Update: 2026-06-14 04:27:17

This commit is contained in:
Hamza-Ayed
2026-06-14 04:27:17 +03:00
parent 55970712cc
commit 2645ed0cf1
9 changed files with 1394 additions and 48 deletions

View File

@@ -227,7 +227,7 @@ ${AppLink.inviteRedirectUrl}?code=$couponCode&app=rider
"inviterPassengerPhone": formattedPhoneNumber,
});
if (response != 'failure') {
if (response != 'failure' && response is Map) {
var d = response;
Get.snackbar('Success'.tr, 'Invite sent successfully'.tr,
backgroundColor: Colors.green, colorText: Colors.white);
@@ -252,6 +252,7 @@ ${AppLink.inviteRedirectUrl}?code=$couponCode&app=rider
"${'Be sure to use it quickly! This code expires at'.tr} *$expirationTime*.\n\n"
"🔗 ${'Quick Invite Link:'.tr}\n"
"${AppLink.inviteRedirectUrl}?code=$inviteCode&app=rider\n\n"
"💡 ${'Note: If the link above is not clickable, please save this contact or reply to this message to activate all links.'.tr}\n\n"
"${'See you on the road!'.tr} 🚗";
launchCommunication('whatsapp', formattedPhoneNumber, message);