From f90b171d9bb16dfe8343a3c2e16ebe1044d2e71c Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Wed, 29 Jan 2025 03:02:39 +0200 Subject: [PATCH] fix empty comment on zano transaction [skip ci] --- lib/view_model/transaction_details_view_model.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/view_model/transaction_details_view_model.dart b/lib/view_model/transaction_details_view_model.dart index 2042a01af..e93c6f8ff 100644 --- a/lib/view_model/transaction_details_view_model.dart +++ b/lib/view_model/transaction_details_view_model.dart @@ -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), ]); }