Fixed status data in home
This commit is contained in:
@@ -83,13 +83,13 @@ class MobileHomePage extends StatelessWidget {
|
||||
ProgressBarColumn(
|
||||
text: AppStrings.partnership,
|
||||
value: double.parse('$partnershipPercent'),
|
||||
amount: partnership.toString(),
|
||||
amount: double.parse('$partnershipPercent').toString(),
|
||||
),
|
||||
Spacer(),
|
||||
ProgressBarColumn(
|
||||
text: AppStrings.selfApply,
|
||||
value: double.parse(selfApplyPercent.toString()),
|
||||
amount: selfApply.toString(),
|
||||
amount: double.parse(selfApplyPercent.toString()).toString(),
|
||||
),
|
||||
SizedBox(width: 20.0.w()),
|
||||
Spacer(),
|
||||
@@ -116,12 +116,12 @@ class MobileHomePage extends StatelessWidget {
|
||||
backgroundColor: AppColors.primary20,
|
||||
iconPath: AssetsManager.arrows,
|
||||
title: AppStrings.tenderSubmitted,
|
||||
amount:
|
||||
tenderApprovalsStateResponse
|
||||
.data!
|
||||
.approvalsBySubmission!
|
||||
.selfApply
|
||||
.toString(),
|
||||
amount:'0',
|
||||
// tenderApprovalsStateResponse
|
||||
// .data!
|
||||
// .approvalsBySubmission!
|
||||
// .selfApply
|
||||
// .toString(),
|
||||
textColor: Color(0xFF0164FF),
|
||||
enableTap: true,
|
||||
onTap: () {
|
||||
|
||||
Reference in New Issue
Block a user