From 84e70e62756625fe84d67688cab512ce96d57a63 Mon Sep 17 00:00:00 2001 From: Hamza Aleghwairyeen Date: Wed, 24 Apr 2024 02:03:09 +0300 Subject: [PATCH] 4/23/8 --- lib/controller/firebase/firbase_messge.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/controller/firebase/firbase_messge.dart b/lib/controller/firebase/firbase_messge.dart index 61c8404..7164e56 100644 --- a/lib/controller/firebase/firbase_messge.dart +++ b/lib/controller/firebase/firbase_messge.dart @@ -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, ), ),