This commit is contained in:
Hamza Aleghwairyeen
2024-04-12 17:37:35 +03:00
parent 59a7af65d7
commit d0273d47d4
2 changed files with 5 additions and 8 deletions

View File

@@ -434,7 +434,7 @@ class MyTranslation extends Translations {
'Enter your Question here': "أدخل سؤالك هنا",
'Question': "السؤال",
'Your trip cost is': 'تبلغ تكلفة رحلتك',
'But you have a negative balance of': 'ولكن لديك رصيد سلبي قدره',
'you have a negative balance of': 'ولكن لديك رصيد سلبي قدره',
' in your': 'في محفظتك',
' wallet due to a previous trip.': 'بسبب رحلة سابقة',
'Submit Question': "طرح السؤال",

View File

@@ -402,13 +402,12 @@ class Burc extends StatelessWidget {
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
IconButton(
onPressed: () async => await Get.find<
TextToSpeechController>()
.speakText('Your trip cost is'.tr +
' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} '
'But you have a negative balance of'
.speakText('you have a negative balance of'
.tr +
'${passengerWallet.toStringAsFixed(2)}'
' in your'
@@ -418,16 +417,14 @@ class Burc extends StatelessWidget {
.tr),
icon: const Icon(Icons.headphones)),
Text(
'Your trip cost is'.tr +
' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} '
'But you have a negative balance of'
.tr +
'you have a negative balance of'.tr +
'${passengerWallet.toStringAsFixed(2)}'
' in your'
.tr +
' ${AppInformation.appName}'
' wallet due to a previous trip.'
.tr,
textAlign: TextAlign.center,
style: AppStyle.subtitle,
),
],