From 31d0bddc380d1863ae13e8cab68e8013c521d4f6 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Wed, 18 Feb 2026 20:36:39 -0600 Subject: [PATCH] Reset on album end --- src/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index ee182cb..21fe836 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -67,6 +67,9 @@ function App() { if ((album?.tracks?.length ?? 0) > nowPlaying + 1) { // if there's a next track play(nowPlaying + 1); setPaused(false); + } else { + setAlbum(null); + setDisplayText(WELCOME_TEXT); // Either I could always be diligent about resetting it elsewhere…or I can just do it here! } };