fix: clear stream-loading state before SelectTrackStreaming
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user