Add "Add additional wallet..." link at bottom of main view
Some checks failed
check / check (push) Has been cancelled

This commit is contained in:
2026-02-26 16:07:53 +07:00
parent e1c3fd8056
commit 7c97eb55e5
2 changed files with 10 additions and 0 deletions

View File

@@ -216,6 +216,14 @@
<!-- wallet list -->
<div id="wallet-list"></div>
<div class="text-xs text-muted mt-2">
<span
id="btn-add-wallet-bottom"
class="underline decoration-dashed cursor-pointer"
>Add additional wallet...</span
>
</div>
</div>
<!-- ============ ADDRESS DETAIL VIEW ============ -->

View File

@@ -229,6 +229,8 @@ function selectActiveAddress() {
}
function init(ctx) {
$("btn-add-wallet-bottom").addEventListener("click", ctx.showAddWalletView);
$("btn-main-send").addEventListener("click", () => {
if (!selectActiveAddress()) {
showFlash("No active address selected.");