Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Svelte 5's $effect on a derived store fires on its initial subscription, causing loadUserPlaylists() to run a second time right after onMount(). Guard with a flag so the effect only fires on actual offline -> online transitions. Refs #382