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:
hailin 2026-01-04 00:51:10 -08:00
parent 30cb245301
commit 190bf8257b
1 changed files with 13 additions and 12 deletions

View File

@ -2093,12 +2093,13 @@ class _WithdrawalDetailSheetState extends State<_WithdrawalDetailSheet> {
'到账地址',
_getWithdrawalShortAddress(_withdrawalDetail!.toAddress),
),
if (_withdrawalDetail!.txHash != null &&
_withdrawalDetail!.txHash!.isNotEmpty)
_buildWithdrawalRow(
'交易哈希',
_getWithdrawalShortAddress(_withdrawalDetail!.txHash!),
),
//
// if (_withdrawalDetail!.txHash != null &&
// _withdrawalDetail!.txHash!.isNotEmpty)
// _buildWithdrawalRow(
// '交易哈希',
// _getWithdrawalShortAddress(_withdrawalDetail!.txHash!),
// ),
],
if (widget.entry.memo != null && widget.entry.memo!.isNotEmpty)
_buildWithdrawalRow('备注', widget.entry.memo!),
@ -2338,12 +2339,12 @@ class _TransferDetailSheet extends StatelessWidget {
//
if (entry.refOrderId != null && entry.refOrderId!.isNotEmpty)
_buildTransferRow('订单编号', entry.refOrderId!),
//
if (entry.refTxHash != null && entry.refTxHash!.isNotEmpty)
_buildTransferRow(
'交易哈希',
_getTransferShortAddress(entry.refTxHash!),
),
//
// if (entry.refTxHash != null && entry.refTxHash!.isNotEmpty)
// _buildTransferRow(
// '交易哈希',
// _getTransferShortAddress(entry.refTxHash!),
// ),
//
if (entry.memo != null && entry.memo!.isNotEmpty)
_buildTransferRow('备注', entry.memo!),