fix(asset): 冻结积分值为0时状态显示为"无"而非"挂单中"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-20 02:16:35 -08:00
parent 94d283696f
commit edfdb1a899
1 changed files with 1 additions and 1 deletions

View File

@ -839,7 +839,7 @@ class _AssetPageState extends ConsumerState<AssetPage> {
balance: asset?.frozenCash,
isLoading: isLoading,
unit: '积分值',
status: '挂单中',
status: (double.tryParse(asset?.frozenCash ?? '0') ?? 0) > 0 ? '挂单中' : '',
statusColor: AppColors.textMutedOf(context),
statusBgColor: AppColors.cardOf(context),
statusBorder: true,