From a7aafa27d095b64c5f852c3dd9dec40301bc22dc Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 12 Nov 2021 10:07:53 +0200 Subject: [PATCH] indicate which accounts are scanned in info dialog --- .../sparrowwallet/sparrow/wallet/SettingsController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/SettingsController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/SettingsController.java index 27748fb3..94a08a4a 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/SettingsController.java +++ b/src/main/java/com/sparrowwallet/sparrow/wallet/SettingsController.java @@ -485,7 +485,7 @@ public class SettingsController extends WalletFormController implements Initiali walletDiscoveryService.setOnSucceeded(event -> { addAndEncryptAccounts(masterWallet, walletDiscoveryService.getValue(), key); if(walletDiscoveryService.getValue().isEmpty()) { - AppServices.showAlertDialog("No Accounts Found", "No new accounts with existing transactions were found.", Alert.AlertType.INFORMATION, ButtonType.OK); + AppServices.showAlertDialog("No Accounts Found", "No new accounts with existing transactions were found. Note only the first 10 accounts are scanned.", Alert.AlertType.INFORMATION, ButtonType.OK); } }); walletDiscoveryService.setOnFailed(event -> { @@ -518,7 +518,7 @@ public class SettingsController extends WalletFormController implements Initiali walletDiscoveryService.setOnSucceeded(event -> { addAndSaveAccounts(masterWallet, walletDiscoveryService.getValue()); if(walletDiscoveryService.getValue().isEmpty()) { - AppServices.showAlertDialog("No Accounts Found", "No new accounts with existing transactions were found.", Alert.AlertType.INFORMATION, ButtonType.OK); + AppServices.showAlertDialog("No Accounts Found", "No new accounts with existing transactions were found. Note only the first 10 accounts are scanned.", Alert.AlertType.INFORMATION, ButtonType.OK); } }); walletDiscoveryService.setOnFailed(event -> { @@ -538,7 +538,7 @@ public class SettingsController extends WalletFormController implements Initiali if(optDiscoveredKeystores.isPresent()) { Map discoveredKeystores = optDiscoveredKeystores.get(); if(discoveredKeystores.isEmpty()) { - AppServices.showAlertDialog("No Accounts Found", "No new accounts with existing transactions were found.", Alert.AlertType.INFORMATION, ButtonType.OK); + AppServices.showAlertDialog("No Accounts Found", "No new accounts with existing transactions were found. Note only the first 10 accounts are scanned.", Alert.AlertType.INFORMATION, ButtonType.OK); } else { for(Map.Entry entry : discoveredKeystores.entrySet()) { Wallet childWallet = masterWallet.addChildWallet(entry.getKey());