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

Fix crash when re-opening app during music playback #3713

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

nielsvanvelzen
Copy link
Member

Changes

  • Fix crash when re-opening app during music playback

Issues

@nielsvanvelzen nielsvanvelzen added bug Something isn't working crash Bug causing app crashes labels Jul 2, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.17.0 milestone Jul 2, 2024
@@ -151,7 +151,7 @@
// Update item row
currentAudioQueue.replaceAll(
items,
areItemsTheSame = { old, new -> (old as AudioQueueBaseRowItem).baseItem == (new as AudioQueueBaseRowItem).baseItem },
areItemsTheSame = { old, new -> (old as? AudioQueueBaseRowItem)?.baseItem == (new as? AudioQueueBaseRowItem)?.baseItem },

Check warning

Code scanning / detekt

Line detected, which is longer than the defined maximum line length in the code style. Warning

Line detected, which is longer than the defined maximum line length in the code style.
@nielsvanvelzen nielsvanvelzen merged commit f8b7087 into jellyfin:master Jul 3, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the reopen-crash branch July 3, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Bug causing app crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants