This commit is contained in:
Hamza Aleghwairyeen
2024-04-12 03:34:08 +03:00
parent 6904798bcc
commit c68ec9b533
4 changed files with 7 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ class AppStyle {
: GoogleFonts.josefinSans().fontFamily);
static TextStyle number = TextStyle(
fontWeight: FontWeight.bold,
fontSize: 20,
fontSize: 14,
color: AppColor.primaryColor,
fontFamily: GoogleFonts.averiaSansLibre().fontFamily);

View File

@@ -2364,8 +2364,9 @@ class MapPassengerController extends GetxController {
totalME = totalCostPassenger - tax;
costForDriver = fuelPrice * 12;
if (totalCostPassenger < 1) {
totalCostPassenger = 1;
if (totalCostPassenger < 20) {
// for eygpt 20 le open ride
totalCostPassenger = 20;
if (double.parse(box.read(BoxName.passengerWalletTotal)) < 0) {
totalPassenger = totalCostPassenger +
(-1) * (double.parse(box.read(BoxName.passengerWalletTotal)));

View File

@@ -62,8 +62,8 @@ GetBuilder<MapDriverController> driverEndRideBar() {
],
)
: const SizedBox(),
mapDriverController.carType != 'Mashwari' ||
mapDriverController.carType != 'Comfort'
mapDriverController.carType == 'Speed' ||
mapDriverController.carType == 'Delivery'
? Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [

View File

@@ -112,6 +112,7 @@ class PassengerInfoWindow extends StatelessWidget {
],
)),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
decoration: AppStyle.boxDecoration1,