4/11/11
This commit is contained in:
@@ -43,7 +43,7 @@ class AppStyle {
|
|||||||
: GoogleFonts.josefinSans().fontFamily);
|
: GoogleFonts.josefinSans().fontFamily);
|
||||||
static TextStyle number = TextStyle(
|
static TextStyle number = TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
fontSize: 20,
|
fontSize: 14,
|
||||||
color: AppColor.primaryColor,
|
color: AppColor.primaryColor,
|
||||||
fontFamily: GoogleFonts.averiaSansLibre().fontFamily);
|
fontFamily: GoogleFonts.averiaSansLibre().fontFamily);
|
||||||
|
|
||||||
|
|||||||
@@ -2364,8 +2364,9 @@ class MapPassengerController extends GetxController {
|
|||||||
totalME = totalCostPassenger - tax;
|
totalME = totalCostPassenger - tax;
|
||||||
costForDriver = fuelPrice * 12;
|
costForDriver = fuelPrice * 12;
|
||||||
|
|
||||||
if (totalCostPassenger < 1) {
|
if (totalCostPassenger < 20) {
|
||||||
totalCostPassenger = 1;
|
// for eygpt 20 le open ride
|
||||||
|
totalCostPassenger = 20;
|
||||||
if (double.parse(box.read(BoxName.passengerWalletTotal)) < 0) {
|
if (double.parse(box.read(BoxName.passengerWalletTotal)) < 0) {
|
||||||
totalPassenger = totalCostPassenger +
|
totalPassenger = totalCostPassenger +
|
||||||
(-1) * (double.parse(box.read(BoxName.passengerWalletTotal)));
|
(-1) * (double.parse(box.read(BoxName.passengerWalletTotal)));
|
||||||
|
|||||||
@@ -62,8 +62,8 @@ GetBuilder<MapDriverController> driverEndRideBar() {
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
: const SizedBox(),
|
: const SizedBox(),
|
||||||
mapDriverController.carType != 'Mashwari' ||
|
mapDriverController.carType == 'Speed' ||
|
||||||
mapDriverController.carType != 'Comfort'
|
mapDriverController.carType == 'Delivery'
|
||||||
? Row(
|
? Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ class PassengerInfoWindow extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
Row(
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
decoration: AppStyle.boxDecoration1,
|
decoration: AppStyle.boxDecoration1,
|
||||||
|
|||||||
Reference in New Issue
Block a user