This commit is contained in:
Hamza-Ayed
2025-01-04 22:02:09 +03:00
parent 69332b57c1
commit e8c3f8f339
7 changed files with 287 additions and 95 deletions

View File

@@ -194,9 +194,9 @@ class WalletCaptain extends StatelessWidget {
_buildPromoCard(
title: 'Morning Promo'.tr,
timePromo: 'Morning Promo',
count: captainWalletController
count: int.parse(captainWalletController
.walletDate['message'][0]
['morning_count'],
['morning_count']),
maxCount: 5,
description:
"this is count of your all trips in the morning promo today from 7:00am-10:00am"
@@ -207,9 +207,9 @@ class WalletCaptain extends StatelessWidget {
_buildPromoCard(
timePromo: 'Afternoon Promo',
title: 'Afternoon Promo'.tr,
count: captainWalletController
count: int.parse(captainWalletController
.walletDate['message'][0]
['afternoon_count'],
['afternoon_count']),
maxCount: 5,
description:
"this is count of your all trips in the Afternoon promo today from 3:00pm-6:00 pm"