fix empty comment on zano transaction [skip ci]

This commit is contained in:
OmarHatem 2025-01-29 03:02:39 +02:00
parent 141a7ebfca
commit f90b171d9b

View file

@ -795,7 +795,7 @@ abstract class TransactionDetailsViewModelBase with Store {
StandartListItem(title: S.current.transaction_details_amount, value: tx.amountFormatted()),
if (tx.feeFormatted()?.isNotEmpty ?? false)
StandartListItem(title: S.current.transaction_details_fee, value: tx.feeFormatted()!),
if (comment != null)
if (comment != null && comment.isNotEmpty)
StandartListItem(title: S.current.transaction_details_title, value: comment),
]);
}