fix(asset): 移除积分值冗余的人民币估值显示
积分值与人民币1:1对应,不需要显示"≈ ¥xxx" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8728fdce4c
commit
1aa655f243
|
|
@ -508,7 +508,7 @@ class _AssetPageState extends ConsumerState<AssetPage> {
|
||||||
growthText: asset != null ? '每秒 +${formatDecimal(perSecondEarning, 8)}' : null,
|
growthText: asset != null ? '每秒 +${formatDecimal(perSecondEarning, 8)}' : null,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
// 积分值(现金余额)
|
// 积分值(现金余额)- 1积分值=1人民币,不需要显示估值
|
||||||
_buildAssetItem(
|
_buildAssetItem(
|
||||||
context: context,
|
context: context,
|
||||||
icon: Icons.eco,
|
icon: Icons.eco,
|
||||||
|
|
@ -517,7 +517,6 @@ class _AssetPageState extends ConsumerState<AssetPage> {
|
||||||
title: '积分值',
|
title: '积分值',
|
||||||
amount: asset?.cashBalance,
|
amount: asset?.cashBalance,
|
||||||
isLoading: isLoading,
|
isLoading: isLoading,
|
||||||
valueInCny: asset != null ? '¥${formatAmount(asset.cashBalance)}' : null,
|
|
||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
// 冻结积分股
|
// 冻结积分股
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue