followup to display address for watch-only wallets

This commit is contained in:
Craig Raw
2025-11-26 07:07:12 +02:00
parent b4630043eb
commit a608197038
@@ -164,8 +164,7 @@ public class ReceiveController extends WalletFormController implements Initializ
displayAddress.setUserData(addressDevices);
return;
} else if(currentEntry != null && (wallet.getKeystores().stream().anyMatch(keystore -> keystore.getSource().equals(KeystoreSource.HW_USB))
|| wallet.getKeystores().stream().allMatch(keystore -> keystore.getSource().equals(KeystoreSource.SW_WATCH)))) {
} else if(currentEntry != null && wallet.getKeystores().stream().anyMatch(keystore -> keystore.getSource().equals(KeystoreSource.HW_USB) || keystore.getSource().equals(KeystoreSource.SW_WATCH))) {
displayAddress.setVisible(true);
displayAddress.setUserData(null);
return;