feat(mobile-app): hide transaction hash in ledger detail page
Hidden txHash display in both transfer details and withdrawal details as it's not necessary for end users. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
30cb245301
commit
190bf8257b
|
|
@ -2093,12 +2093,13 @@ class _WithdrawalDetailSheetState extends State<_WithdrawalDetailSheet> {
|
||||||
'到账地址',
|
'到账地址',
|
||||||
_getWithdrawalShortAddress(_withdrawalDetail!.toAddress),
|
_getWithdrawalShortAddress(_withdrawalDetail!.toAddress),
|
||||||
),
|
),
|
||||||
if (_withdrawalDetail!.txHash != null &&
|
// 交易哈希(已隐藏)
|
||||||
_withdrawalDetail!.txHash!.isNotEmpty)
|
// if (_withdrawalDetail!.txHash != null &&
|
||||||
_buildWithdrawalRow(
|
// _withdrawalDetail!.txHash!.isNotEmpty)
|
||||||
'交易哈希',
|
// _buildWithdrawalRow(
|
||||||
_getWithdrawalShortAddress(_withdrawalDetail!.txHash!),
|
// '交易哈希',
|
||||||
),
|
// _getWithdrawalShortAddress(_withdrawalDetail!.txHash!),
|
||||||
|
// ),
|
||||||
],
|
],
|
||||||
if (widget.entry.memo != null && widget.entry.memo!.isNotEmpty)
|
if (widget.entry.memo != null && widget.entry.memo!.isNotEmpty)
|
||||||
_buildWithdrawalRow('备注', widget.entry.memo!),
|
_buildWithdrawalRow('备注', widget.entry.memo!),
|
||||||
|
|
@ -2338,12 +2339,12 @@ class _TransferDetailSheet extends StatelessWidget {
|
||||||
// 关联订单
|
// 关联订单
|
||||||
if (entry.refOrderId != null && entry.refOrderId!.isNotEmpty)
|
if (entry.refOrderId != null && entry.refOrderId!.isNotEmpty)
|
||||||
_buildTransferRow('订单编号', entry.refOrderId!),
|
_buildTransferRow('订单编号', entry.refOrderId!),
|
||||||
// 交易哈希
|
// 交易哈希(已隐藏)
|
||||||
if (entry.refTxHash != null && entry.refTxHash!.isNotEmpty)
|
// if (entry.refTxHash != null && entry.refTxHash!.isNotEmpty)
|
||||||
_buildTransferRow(
|
// _buildTransferRow(
|
||||||
'交易哈希',
|
// '交易哈希',
|
||||||
_getTransferShortAddress(entry.refTxHash!),
|
// _getTransferShortAddress(entry.refTxHash!),
|
||||||
),
|
// ),
|
||||||
// 备注
|
// 备注
|
||||||
if (entry.memo != null && entry.memo!.isNotEmpty)
|
if (entry.memo != null && entry.memo!.isNotEmpty)
|
||||||
_buildTransferRow('备注', entry.memo!),
|
_buildTransferRow('备注', entry.memo!),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue