From c7a40fefbe2f923ea2e02e60e81f72d210bfc717 Mon Sep 17 00:00:00 2001 From: Hamza Aleghwairyeen Date: Wed, 24 Apr 2024 01:59:50 +0300 Subject: [PATCH] 4/23/7 --- lib/controller/firebase/firbase_messge.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/controller/firebase/firbase_messge.dart b/lib/controller/firebase/firbase_messge.dart index 75266e9..61c8404 100644 --- a/lib/controller/firebase/firbase_messge.dart +++ b/lib/controller/firebase/firbase_messge.dart @@ -690,6 +690,7 @@ class DriverTipWidget extends StatelessWidget { context, '${'Tip is '.tr}${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}', AppColor.blueColor); + controller.update(); }, child: Container( decoration: BoxDecoration(border: Border.all()), @@ -708,6 +709,7 @@ class DriverTipWidget extends StatelessWidget { context, '${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}', AppColor.blueColor); + controller.update(); }, child: Container( decoration: BoxDecoration(border: Border.all()), @@ -726,6 +728,7 @@ class DriverTipWidget extends StatelessWidget { context, '${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}', AppColor.blueColor); + controller.update(); }, child: Container( decoration: BoxDecoration(border: Border.all()), @@ -744,6 +747,7 @@ class DriverTipWidget extends StatelessWidget { context, '${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}', AppColor.blueColor); + controller.update(); }, child: Container( decoration: BoxDecoration(border: Border.all()),