Fixed status data in home
This commit is contained in:
@@ -80,7 +80,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
ProgressBarColumn(
|
||||
text: AppStrings.partnership,
|
||||
value: double.parse('$partnershipPercent'),
|
||||
amount: partnership.toString(),
|
||||
amount: double.parse('$partnershipPercent').toString(),
|
||||
circularProgressIndicatorWidth: 176.0,
|
||||
circularProgressIndicatorHeight: 176.0,
|
||||
strokeWidth: 8.0,
|
||||
@@ -88,7 +88,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
ProgressBarColumn(
|
||||
text: AppStrings.selfApply,
|
||||
value: double.parse(selfApplyPercent.toString()),
|
||||
amount: selfApply.toString(),
|
||||
amount: double.parse(selfApplyPercent.toString()).toString(),
|
||||
circularProgressIndicatorWidth: 176.0,
|
||||
circularProgressIndicatorHeight: 176.0,
|
||||
strokeWidth: 8.0,
|
||||
@@ -119,12 +119,12 @@ class TabletHomePage 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: double.infinity,
|
||||
|
||||
Reference in New Issue
Block a user