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()),