From 4e81dda7adb8c80d15c745af3dd0ffce093eaa80 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Wed, 22 Nov 2023 09:06:49 -0500 Subject: [PATCH] stop showing the spinner a little earlier on audioplayer --- components/mediaPlayers/AudioPlayer.bs | 1 - components/music/AudioPlayerView.bs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mediaPlayers/AudioPlayer.bs b/components/mediaPlayers/AudioPlayer.bs index fd97ff47..db375008 100644 --- a/components/mediaPlayers/AudioPlayer.bs +++ b/components/mediaPlayers/AudioPlayer.bs @@ -14,7 +14,6 @@ sub audioStateChanged() m.top.disableScreenSaver = (currentState = "playing") if currentState = "playing" and not m.playReported - stopLoadingSpinner() reportedPlaybackState = "start" m.playReported = true else if currentState = "stopped" or currentState = "finished" diff --git a/components/music/AudioPlayerView.bs b/components/music/AudioPlayerView.bs index 4858ee40..d9c3e1f9 100644 --- a/components/music/AudioPlayerView.bs +++ b/components/music/AudioPlayerView.bs @@ -447,6 +447,7 @@ sub loadButtons() end sub sub onAudioStreamLoaded() + stopLoadingSpinner() data = m.LoadAudioStreamTask.content[0] m.LoadAudioStreamTask.unobserveField("content") if data <> invalid and data.count() > 0