fix(asset): 隐藏总资产卡片的每秒增长显示
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1aa655f243
commit
14d29b62ef
|
|
@ -375,34 +375,34 @@ class _AssetPageState extends ConsumerState<AssetPage> {
|
||||||
// color: Color(0xFF9CA3AF),
|
// color: Color(0xFF9CA3AF),
|
||||||
// ),
|
// ),
|
||||||
// ),
|
// ),
|
||||||
const SizedBox(height: 12),
|
// 每秒增长 - 暂时隐藏
|
||||||
// 每秒增长
|
// const SizedBox(height: 12),
|
||||||
Container(
|
// Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
// padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||||
decoration: BoxDecoration(
|
// decoration: BoxDecoration(
|
||||||
color: isDark ? _green.withOpacity(0.15) : _feta,
|
// color: isDark ? _green.withOpacity(0.15) : _feta,
|
||||||
borderRadius: BorderRadius.circular(8),
|
// borderRadius: BorderRadius.circular(8),
|
||||||
),
|
// ),
|
||||||
child: Row(
|
// child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
// mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
// children: [
|
||||||
const Icon(Icons.bolt, size: 14, color: _green),
|
// const Icon(Icons.bolt, size: 14, color: _green),
|
||||||
const SizedBox(width: 6),
|
// const SizedBox(width: 6),
|
||||||
DataText(
|
// DataText(
|
||||||
data: asset != null
|
// data: asset != null
|
||||||
? '+${formatDecimal(growthPerSecond.toString(), 8)}/秒'
|
// ? '+${formatDecimal(growthPerSecond.toString(), 8)}/秒'
|
||||||
: null,
|
// : null,
|
||||||
isLoading: isLoading,
|
// isLoading: isLoading,
|
||||||
placeholder: '+--/秒',
|
// placeholder: '+--/秒',
|
||||||
style: const TextStyle(
|
// style: const TextStyle(
|
||||||
fontSize: 12,
|
// fontSize: 12,
|
||||||
fontWeight: FontWeight.w500,
|
// fontWeight: FontWeight.w500,
|
||||||
color: _green,
|
// color: _green,
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue