diff --git a/src/app/components/KeyDownload.svelte b/src/app/components/KeyDownload.svelte index df0249f6..3644cbac 100644 --- a/src/app/components/KeyDownload.svelte +++ b/src/app/components/KeyDownload.svelte @@ -94,8 +94,6 @@ try { await downloadText("Nostr Secret Key.txt", cleanupCopy(instructions)) - - didDownload = true } catch (e) { // Dismissing the native share sheet rejects with "Share canceled" — leave // the flow gated so the user can try again rather than showing an error. @@ -107,6 +105,8 @@ pushToast({theme: "error", message: "We couldn't save your key. Please try again."}) } } + + didDownload = true } const onPasswordChange = () => { diff --git a/src/app/components/QRCode.svelte b/src/app/components/QRCode.svelte index c434723e..a792dc49 100644 --- a/src/app/components/QRCode.svelte +++ b/src/app/components/QRCode.svelte @@ -1,27 +1,33 @@ diff --git a/src/lib/components/space-menu.css b/src/lib/components/space-menu.css index a5271a98..bc1ab6ed 100644 --- a/src/lib/components/space-menu.css +++ b/src/lib/components/space-menu.css @@ -3,6 +3,11 @@ .secondary-nav--mobile-space { @apply mt-sai bg-backdrop mb-0 w-full max-w-full grow border-0; + /* Reserve room for the fixed mobile primary nav (h-14) plus the bottom + safe-area inset, otherwise the connection status row at the bottom of + the menu is hidden behind the nav footer on devices with an inset. */ + padding-bottom: calc(var(--saib) + 4rem); + .tip[data-tip]::before { display: none !important; } diff --git a/src/routes/spaces/[relay]/+page.svelte b/src/routes/spaces/[relay]/+page.svelte index 890db7a9..4cbbe046 100644 --- a/src/routes/spaces/[relay]/+page.svelte +++ b/src/routes/spaces/[relay]/+page.svelte @@ -21,7 +21,7 @@ {#if width <= md} - + {/if}