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),
|
||||
),
|
||||
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!),
|
||||
|
|
|
|||
Loading…
Reference in New Issue