Update: 2026-07-12 00:24:19
This commit is contained in:
@@ -296,6 +296,33 @@ class LocationSearchController extends GetxController {
|
||||
newStartPointLocation = passengerLocation;
|
||||
newMyLocation = passengerLocation;
|
||||
|
||||
if (!CountryPolygons.isServiceSupported(passengerLocation)) {
|
||||
Get.bottomSheet(
|
||||
Container(
|
||||
padding: const EdgeInsets.all(20),
|
||||
decoration: const BoxDecoration(
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
|
||||
),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const Icon(Icons.location_off, size: 60, color: Colors.redAccent),
|
||||
const SizedBox(height: 15),
|
||||
Text(
|
||||
'service_unavailable_area'.tr,
|
||||
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
],
|
||||
),
|
||||
),
|
||||
isDismissible: false,
|
||||
enableDrag: false,
|
||||
);
|
||||
}
|
||||
|
||||
if (Get.isRegistered<RideLifecycleController>()) {
|
||||
final rideLifecycle = Get.find<RideLifecycleController>();
|
||||
rideLifecycle.getLocationArea(
|
||||
|
||||
@@ -1753,4 +1753,5 @@ final Map<String, String> ar_eg = {
|
||||
"Please top up your wallet to subscribe to Siro Prime.": "يرجى شحن محفظتك للاشتراك في سيرو برايم.",
|
||||
"Top Up Wallet": "شحن المحفظة",
|
||||
"• Subscription renews automatically every 30 days\n• Cancel anytime from your wallet page\n• Amount is deducted from your in-app wallet": "• يتجدد الاشتراك تلقائياً كل 30 يوماً\n• يمكن الإلغاء في أي وقت من صفحة المحفظة\n• يُخصم المبلغ من محفظتك داخل التطبيق",
|
||||
"service_unavailable_area": "هذه الخدمة غير متوفرة حالياً في منطقتك",
|
||||
};
|
||||
|
||||
@@ -1753,4 +1753,5 @@ final Map<String, String> ar_jo = {
|
||||
"Please top up your wallet to subscribe to Siro Prime.": "يرجى شحن محفظتك للاشتراك في سيرو برايم.",
|
||||
"Top Up Wallet": "شحن المحفظة",
|
||||
"• Subscription renews automatically every 30 days\n• Cancel anytime from your wallet page\n• Amount is deducted from your in-app wallet": "• يتجدد الاشتراك تلقائياً كل 30 يوماً\n• يمكن الإلغاء في أي وقت من صفحة المحفظة\n• يُخصم المبلغ من محفظتك داخل التطبيق",
|
||||
"service_unavailable_area": "هذه الخدمة غير متوفرة حالياً في منطقتك",
|
||||
};
|
||||
|
||||
@@ -1753,4 +1753,5 @@ final Map<String, String> ar_sy = {
|
||||
"Please top up your wallet to subscribe to Siro Prime.": "يرجى شحن محفظتك للاشتراك في سيرو برايم.",
|
||||
"Top Up Wallet": "شحن المحفظة",
|
||||
"• Subscription renews automatically every 30 days\n• Cancel anytime from your wallet page\n• Amount is deducted from your in-app wallet": "• يتجدد الاشتراك تلقائياً كل 30 يوماً\n• يمكن الإلغاء في أي وقت من صفحة المحفظة\n• يُخصم المبلغ من محفظتك داخل التطبيق",
|
||||
"service_unavailable_area": "هذه الخدمة غير متوفرة حالياً في منطقتك",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> de = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ Sie müssen einen Betrag auswählen!",
|
||||
"💰 Pay with Wallet": "Mit Portemonnaie bezahlen",
|
||||
"💳 Pay with Credit Card": "💳 Mit Kreditkarte bezahlen",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> el = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ Επιλέξτε ποσό!",
|
||||
"💰 Pay with Wallet": "💰 Πληρωμή με Πορτοφόλι",
|
||||
"💳 Pay with Credit Card": "💳 Πληρωμή με Κάρτα",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> es = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ ¡Necesitas elegir un monto!",
|
||||
"💰 Pay with Wallet": "Pagar con billetera",
|
||||
"💳 Pay with Credit Card": "💳 Pagar con tarjeta de crédito",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> fa = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ باید مبلغی را انتخاب کنید!",
|
||||
"💰 Pay with Wallet": "💰 پرداخت با کیف پول",
|
||||
"💳 Pay with Credit Card": "💳 پرداخت با کارت اعتباری",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> fr = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ Vous devez choisir un montant !",
|
||||
"💰 Pay with Wallet": "💰 Payer avec le portefeuille",
|
||||
"💳 Pay with Credit Card": "💳 Payer par carte de crédit",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> hi = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ आपको एक राशि चुनने की आवश्यकता है!",
|
||||
"💰 Pay with Wallet": "💰 वॉलेट से भुगतान करें",
|
||||
"💳 Pay with Credit Card": "💳 क्रेडिट कार्ड से भुगतान करें",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> it = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ Devi scegliere un importo!",
|
||||
"💰 Pay with Wallet": "💰 Paga con portafoglio",
|
||||
"💳 Pay with Credit Card": "💳 Paga con carta di credito",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> ru = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ Выберите сумму!",
|
||||
"💰 Pay with Wallet": "💰 Оплата кошельком",
|
||||
"💳 Pay with Credit Card": "💳 Оплата картой",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> tr = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ Bir tutar seçmelisiniz!",
|
||||
"💰 Pay with Wallet": "💰 Cüzdan ile Öde",
|
||||
"💳 Pay with Credit Card": "💳 Kredi Kartı ile Öde",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -32,5 +32,6 @@ class MyTranslation extends Translations {
|
||||
"tr": tr,
|
||||
"ur": ur,
|
||||
"zh": zh,
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> ur = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ آپ کو ایک رقم منتخب کرنے کی ضرورت ہے!",
|
||||
"💰 Pay with Wallet": "💰 والٹ سے ادائیگی کریں",
|
||||
"💳 Pay with Credit Card": "💳 کریڈٹ کارڈ سے ادائیگی کریں",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
@@ -1712,4 +1712,5 @@ final Map<String, String> zh = {
|
||||
"⚠️ You need to choose an amount!": "⚠️ لازم تختار مبلغ!",
|
||||
"💰 Pay with Wallet": "💰 ادفع بالمحفظة",
|
||||
"💳 Pay with Credit Card": "💳 ادفع بالبطاقة",
|
||||
"service_unavailable_area": "This service is not currently available in your area",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user