2/22/1
This commit is contained in:
@@ -62,7 +62,7 @@ class OrderHistory extends StatelessWidget {
|
||||
showInBrowser(mapUrl);
|
||||
},
|
||||
child: Text(
|
||||
'Click here to Show it in Map',
|
||||
'Click here to Show it in Map'.tr,
|
||||
style: AppStyle.title,
|
||||
),
|
||||
),
|
||||
@@ -78,14 +78,14 @@ class OrderHistory extends StatelessWidget {
|
||||
),
|
||||
Text(
|
||||
rides['status'],
|
||||
style: rides['status'] != 'Canceled'
|
||||
style: rides['status'] != 'Canceled'.tr
|
||||
? AppStyle.subtitle.copyWith(
|
||||
color: AppColor.greenColor)
|
||||
: AppStyle.subtitle
|
||||
.copyWith(color: AppColor.redColor),
|
||||
),
|
||||
Text(
|
||||
'Price is ${rides['price']}',
|
||||
'${'Price is'.tr} ${rides['price']}',
|
||||
style: AppStyle.subtitle,
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user