fix: clear stream-loading state before SelectTrackStreaming

This commit is contained in:
daniel-c-harvey
2026-06-08 06:54:48 -04:00
parent 3f02686012
commit 0e5cf7e79d
@@ -164,6 +164,11 @@
if (closeMobileMenu)
_mobileMenuOpen = false;
// Track is found — clear the loading state immediately so the button
// reverts to "Stream Now ▶" before the stream begins.
_streamLoading = false;
StateHasChanged();
if (PlayerService is not null)
await PlayerService.SelectTrackStreaming(track);
}