This commit is contained in:
Hamza Aleghwairyeen
2024-04-24 02:03:09 +03:00
parent c7a40fefbe
commit 84e70e6275

View File

@@ -775,9 +775,7 @@ class DriverTipWidget extends StatelessWidget {
child: Padding(
padding: const EdgeInsets.all(6),
child: Text(
(controller.totalPassenger *
double.parse(box.read(BoxName.tipPercentage)))
.toString(),
'${controller.totalPassenger * double.parse(box.read(BoxName.tipPercentage))} ${box.read(BoxName.countryCode) == 'Egypt' ? 'LE'.tr : 'JOD'.tr}',
style: AppStyle.title,
),
),