From d550432cf16287900abf4a53bb46e2a9c50fc577 Mon Sep 17 00:00:00 2001 From: wlkns-dev Date: Fri, 6 Nov 2026 21:11:33 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20=E2=96=B6-Abspielen-Button=20auf=20lokal?= =?UTF-8?q?-Cards=20wieder=20da=20(bei=20Icon-only-Umbau=20verloren=20gega?= =?UTF-8?q?ngen)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.svelte | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/App.svelte b/src/App.svelte index 914e5d2..e3ffe0b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -422,6 +422,18 @@ } } + // — Player-Bedienung (T-021) — + async function abspielen(b: Book): Promise { + if (!isLocal(b)) return + error = '' + try { + player = await playerLoad(b.asin, b.title) + info = '' + } catch (e) { + error = String(e) + } + } + // Beim Start: auth prüfen, Download-Events abonnieren, Abstammung + Abgleich. $effect(() => { playerSnapshot().then((s) => (player = s)).catch(() => {}) @@ -600,6 +612,7 @@ {:else if isLocal(b)} + {:else if streamOnly[b.asin]}