always show display address for watch-only wallets

This commit is contained in:
Craig Raw
2025-11-25 09:51:13 +02:00
parent 8efee4eaae
commit 71cb5852b3
@@ -164,7 +164,8 @@ 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))) {
} 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)))) {
displayAddress.setVisible(true);
displayAddress.setUserData(null);
return;