diff options
| author | Adam Soltys <[email protected]> | 2025-07-07 22:34:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-07-07 22:34:27 -0700 |
| commit | 209b1e64f1c4dda16a50e57c6570a3a35953085d (patch) | |
| tree | 4e8b260e5b8f832b03dd41f17f65b42aba58f268 /src/routes/(app)/send | |
| parent | 1b1718a4b64275bac8e1fe519d33c67e3a95f2c5 (diff) | |
| download | coinos-ui-209b1e64f1c4dda16a50e57c6570a3a35953085d.tar.gz coinos-ui-209b1e64f1c4dda16a50e57c6570a3a35953085d.zip | |
fund sweep
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.svelte | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte index 183b4b51..e5c77647 100644 --- a/src/routes/(app)/send/[...text]/+page.svelte +++ b/src/routes/(app)/send/[...text]/+page.svelte @@ -73,18 +73,7 @@ </div> </div> {/if} - - <textarea - use:focus - name="text" - placeholder={$t("user.send.placeholder")} - onkeypress={keypress} - class="w-full p-4 border rounded-xl h-32 text-xl" - bind:value={text} - onpaste={() => (pasted = true)} - autocapitalize="none" - ></textarea> - + <div class="flex gap-2"> <a href="/scan" class="contents"> <button type="button" class="btn !w-auto flex-grow"> @@ -101,6 +90,18 @@ </button> </div> + <textarea + use:focus + name="text" + placeholder={$t("user.send.placeholder")} + onkeypress={keypress} + class="w-full p-4 border rounded-xl h-32 text-xl" + bind:value={text} + onpaste={() => (pasted = true)} + autocapitalize="none" + ></textarea> + + <button bind:this={el} type="submit" class="btn btn-accent"> <iconify-icon noobserver icon="ph:paper-plane-right-bold" width="32" ></iconify-icon> @@ -152,7 +153,7 @@ </div> {/if} - {#if !loaded} + {#if !loaded && contacts.length > 0} <button onclick={loadMore} type="button" class="btn" >{$t("user.loadMore")}</button > |
