6/8/1
This commit is contained in:
@@ -307,7 +307,9 @@ class FirebaseMessagesController extends GetxController {
|
||||
return Get.defaultDialog(
|
||||
barrierDismissible: false,
|
||||
title: 'Hi ,I Arrive your site'.tr,
|
||||
titleStyle: AppStyle.title,
|
||||
middleText: 'Please go to Car Driver'.tr,
|
||||
middleTextStyle: AppStyle.title,
|
||||
confirm: MyElevatedButton(
|
||||
title: 'Ok I will go now.'.tr,
|
||||
onPressed: () {
|
||||
|
||||
@@ -30,7 +30,7 @@ class AudioRecorderController extends GetxController {
|
||||
final directory = await getApplicationDocumentsDirectory();
|
||||
// Generate a unique file name using the current timestamp
|
||||
String fileName =
|
||||
'${DateTime.now().year}-${DateTime.now().month}-${DateTime.now().day}_${Get.find<MapPassengerController>().rideId}.m4a';
|
||||
'${DateTime.now().year}-${DateTime.now().month}-${DateTime.now().day}_${Get.find<MapPassengerController>().rideId}.aac';
|
||||
filePath = '${directory.path}/$fileName';
|
||||
|
||||
// Define the configuration for the recording
|
||||
|
||||
@@ -2623,9 +2623,10 @@ class MapPassengerController extends GetxController {
|
||||
if (jsonDecode(res)['message']['rating'] == null) {
|
||||
passengerRate = 5;
|
||||
} else {
|
||||
passengerRate =
|
||||
double.parse(jsonDecode(res)['message']['rating'].toString());
|
||||
passengerRate = jsonDecode(res)['message']['rating'];
|
||||
}
|
||||
} else {
|
||||
passengerRate = 5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@ class MyTranslation extends Translations {
|
||||
@override
|
||||
Map<String, Map<String, String>> get keys => {
|
||||
"ar": {
|
||||
"Notifications": "إشعارات",
|
||||
'💳 Pay with Credit Card': "ادفع باستخدام بطاقة الائتمان💳",
|
||||
"⚠️ You need to choose an amount!": "⚠️ يجب عليك اختيار مبلغ!",
|
||||
'💰 Pay with Wallet': "ادفع باستخدام المحفظة",
|
||||
"You must restart the app to change the language.":
|
||||
"يجب إعادة تشغيل التطبيق لتغيير اللغة",
|
||||
"joined": "انضم",
|
||||
|
||||
Reference in New Issue
Block a user