Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure loading spinner activates for queue items #1503

Closed
wants to merge 1 commit into from
Closed

Ensure loading spinner activates for queue items #1503

wants to merge 1 commit into from

Conversation

1hitsong
Copy link
Member

@1hitsong 1hitsong commented Nov 15, 2023

Changes

Shows loading spinner when playback is called for queued items.

@1hitsong 1hitsong requested a review from a team as a code owner November 15, 2023 19:03
@@ -120,6 +120,8 @@ sub playQueue()
nextItemMediaType = getItemType(nextItem)
if nextItemMediaType = "" then return

startLoadingSpinner()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we can cancel something, we call startLoadingSpinner directly, as this is just aesthetic. if we can't cancel the thing, then we use startMediaLoadingSpinner(), because that one eats backpresses until stopLoadingSpinner() is called.

@1hitsong 1hitsong closed this Nov 15, 2023
@1hitsong 1hitsong deleted the fixLoadingSpinner branch November 16, 2023 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants