diff --git a/ui/src/routes/profile/+page.svelte b/ui/src/routes/profile/+page.svelte index 8fc6add..7a24cf4 100644 --- a/ui/src/routes/profile/+page.svelte +++ b/ui/src/routes/profile/+page.svelte @@ -192,7 +192,6 @@ function markSaved() { saveStatus = 'saving'; clearTimeout(savedTimer); - // Give a tick for layout's effect to fire, then show ✓ Saved savedTimer = setTimeout(() => { saveStatus = 'saved'; savedTimer = setTimeout(() => (saveStatus = 'idle'), 2000) as unknown as number; @@ -218,11 +217,10 @@ } if (!initialized) { initialized = true; return; } - void v; void sp; void an; void ac; void am; // keep subscriptions live + void v; void sp; void an; void ac; void am; markSaved(); }); - // Keep theme/font writes flowing into layout context when changed from selectors $effect(() => { if (settingsCtx) settingsCtx.current = selectedTheme; }); $effect(() => { if (settingsCtx) settingsCtx.fontFamily = selectedFontFamily; }); $effect(() => { if (settingsCtx) settingsCtx.fontSize = selectedFontSize; }); @@ -283,7 +281,6 @@ deleteError = body.message ?? `Delete failed (${res.status}). Please try again.`; return; } - // Server deleted account — submit logout form to clear session cookie const logoutForm = document.getElementById('logout-form') as HTMLFormElement | null; if (logoutForm) logoutForm.submit(); } catch { @@ -331,12 +328,9 @@ {#if justSubscribed} -
Welcome to Pro!
-Your subscription is being activated. Refresh the page in a moment if the Pro badge doesn't appear yet.
-Welcome to Pro!
+Your subscription is being activated. Refresh the page in a moment if the Pro badge doesn't appear yet.
{m.profile_pro_perks()}
{m.profile_tts_voice()}
{#if !voicesLoaded} @@ -574,7 +561,6 @@ {:else if voices.length === 0}No voices available.
{:else} - {#each [ { label: 'Kokoro (GPU)', voices: kokoroVoices }, { label: 'Pocket TTS (CPU)', voices: pocketVoices }, @@ -586,7 +572,6 @@ {#each group.voices as v (v.id)} {@const isSelected = audioStore.voice === v.id} {@const isPlaying = samplePlayingVoice === v.id} -Playback
-{m.profile_auto_advance()}
-Automatically load the next chapter when audio finishes
+Load the next chapter automatically when audio ends