From 1e1fffae00f5bbff435fdc1377a7f4d71ac24891 Mon Sep 17 00:00:00 2001 From: pokkst Date: Thu, 22 Sep 2022 18:52:06 -0500 Subject: [PATCH] Fix selected value visibility bug --- .../mynero/wallet/fragment/dialog/SendBottomSheetDialog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/net/mynero/wallet/fragment/dialog/SendBottomSheetDialog.java b/app/src/main/java/net/mynero/wallet/fragment/dialog/SendBottomSheetDialog.java index 06cd9b0..6d8870b 100644 --- a/app/src/main/java/net/mynero/wallet/fragment/dialog/SendBottomSheetDialog.java +++ b/app/src/main/java/net/mynero/wallet/fragment/dialog/SendBottomSheetDialog.java @@ -307,7 +307,9 @@ public class SendBottomSheetDialog extends BottomSheetDialogFragment { feeTextView.setVisibility(View.GONE); addressTextView.setVisibility(View.GONE); amountTextView.setVisibility(View.GONE); - selectedUtxosValueTextView.setVisibility(View.VISIBLE); + if(!selectedUtxos.isEmpty()) { + selectedUtxosValueTextView.setVisibility(View.VISIBLE); + } feeRadioGroup.setVisibility(View.VISIBLE); feeRadioGroupLabelTextView.setVisibility(View.VISIBLE); }