Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: reorder OmniboxInput rendering for improved state handling

Tonhoee15312d91d5
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index af5d2e2f..52257fc3 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -386,10 +386,6 @@
/>
{/if}
- {#if showOmnibox}
- <OmniboxInput bind:url onInput={handleInput} />
- {/if}
-
{#if omniState.kind === "detecting"}
<div class="feedback feedback-enter">
<span class="feedback-spinner"></span>
@@ -405,7 +401,13 @@
{/if}
</span>
</div>
+ {/if}
+
+ {#if showOmnibox}
+ <OmniboxInput bind:url onInput={handleInput} />
+ {/if}
+ {#if omniState.kind === "detected"}
<MediaPreview bind:mediaPreview bind:imageLoading={previewImageLoading} />
{#if omniState.info.platform !== "hotmart"}