4/11/11
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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)));
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -112,6 +112,7 @@ class PassengerInfoWindow extends StatelessWidget {
|
||||
],
|
||||
)),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
decoration: AppStyle.boxDecoration1,
|
||||
|
||||
Reference in New Issue
Block a user