From 58f5316ebf37a25d5272592ea45778312ad6c42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=81=D0=B5=D0=BD=D0=B8=D0=B9?= Date: Wed, 5 Aug 2026 13:10:20 +0300 Subject: [PATCH] fix(omnibox): restore download mode selector for batch downloads PR #182 added a DownloadModeSelector above "Download all" in the batch state, so users could force "Audio only" (or "No sound") when pasting multiple URLs. It was reverted unintentionally by #197: that branch was cut from main before #182 landed and its squash merge rewrote src/routes/+page.svelte wholesale, dropping the batch-options block. Re-apply the removed markup and the .batch-options style. Nothing else is needed: handleBatchDownload still forwards downloadMode to the backend, and DownloadModeSelector's onChange prop is still optional. Co-Authored-By: Claude Opus 5 --- src/routes/+page.svelte | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f2566de5..d7ce503d 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1062,7 +1062,10 @@ {/if} {#if omniState.kind === "batch"} - +
+ + +
{:else if omniState.kind === "searching"}