fix empty comment on zano transaction [skip ci]
OmarHatem committed
Jan 29, 2025 at 03:02 UTC
f90b171d9bb16dfe8343a3c2e16ebe1044d2e71c
1 file changed
+1
-1
lib/view_model/transaction_details_view_model.dart
+1
-1
@@ -795,7 +795,7 @@ abstract class TransactionDetailsViewModelBase with Store {
795
StandartListItem(title: S.current.transaction_details_amount, value: tx.amountFormatted()),
796
if (tx.feeFormatted()?.isNotEmpty ?? false)
797
StandartListItem(title: S.current.transaction_details_fee, value: tx.feeFormatted()!),
798
- if (comment != null)
798
+ if (comment != null && comment.isNotEmpty)
799
StandartListItem(title: S.current.transaction_details_title, value: comment),
800
]);
801
}