Clear scanning flash when address scan completes
Some checks failed
check / check (push) Has been cancelled
Some checks failed
check / check (push) Has been cancelled
The "Scanning for addresses..." flash had a 30-second timeout and was never cleared on completion. Now shows "Found N addresses." when multiple are found, or briefly shows "Ready." for single-address wallets.
This commit is contained in:
@@ -103,6 +103,9 @@ function init(ctx) {
|
|||||||
wallet.nextIndex = scan.nextIndex;
|
wallet.nextIndex = scan.nextIndex;
|
||||||
await saveState();
|
await saveState();
|
||||||
ctx.renderWalletList();
|
ctx.renderWalletList();
|
||||||
|
showFlash("Found " + scan.addresses.length + " addresses.");
|
||||||
|
} else {
|
||||||
|
showFlash("Ready.", 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.doRefreshAndRender();
|
ctx.doRefreshAndRender();
|
||||||
|
|||||||
Reference in New Issue
Block a user