fix(mining-app): 全网兑换销毁量改用circulationPool+保留小数格式
根据业务需求,"全网兑换销毁量"应显示流通池总数量(全网卖出量), 而非SELL_BURN销毁总量。同时将formatIntWithCommas改为formatWithCommas 以保留小数位,避免小数值被截断显示为0。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
edc81cc55d
commit
a39af93063
|
|
@ -459,7 +459,7 @@ class _TradingPageState extends ConsumerState<TradingPage> {
|
||||||
children: [
|
children: [
|
||||||
_buildBurnDetailRow('系统总销毁量', formatIntWithCommas(market.blackHoleAmount), darkText, grayText),
|
_buildBurnDetailRow('系统总销毁量', formatIntWithCommas(market.blackHoleAmount), darkText, grayText),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
_buildBurnDetailRow('全网兑换销毁量', formatIntWithCommas(market.totalSellBurned), darkText, grayText),
|
_buildBurnDetailRow('全网兑换销毁量', formatWithCommas(market.circulationPool), darkText, grayText),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue