Fixed status data in home

This commit is contained in:
llsajjad
2025-08-20 14:27:21 +03:30
parent 266d974786
commit efd75d2a23
4 changed files with 25 additions and 26 deletions
+8 -9
View File
@@ -70,7 +70,7 @@ class DesktopHomePage extends StatelessWidget {
ProgressBarColumn(
text: AppStrings.partnership,
value: double.parse('$partnershipPercent'),
amount: partnership.toString(),
amount: double.parse('$partnershipPercent').toString(),
circularProgressIndicatorWidth: 176,
circularProgressIndicatorHeight: 176,
),
@@ -78,8 +78,7 @@ class DesktopHomePage extends StatelessWidget {
ProgressBarColumn(
text: AppStrings.selfApply,
value: double.parse(selfApplyPercent.toString()),
amount: selfApply.toString(),
circularProgressIndicatorWidth: 176,
amount: double.parse(selfApplyPercent.toString()).toString(), circularProgressIndicatorWidth: 176,
circularProgressIndicatorHeight: 176,
),
SizedBox(width: 106),
@@ -105,12 +104,12 @@ class DesktopHomePage extends StatelessWidget {
backgroundColor: AppColors.primary20,
iconPath: 'assets/icons/arrows.svg',
title: AppStrings.tenderSubmitted,
amount:
tenderApprovalsStateResponse
.data!
.approvalsBySubmission!
.selfApply
.toString(),
amount: '0',
// tenderApprovalsStateResponse
// .data!
// .approvalsBySubmission!
// .selfApply
// .toString(),
textColor: Color(0xFF0164FF),
enableTap: true,
width: 178,