playback: hotfix playback pager crash

This commit is contained in:
Alexander Capehart
2026-07-08 22:47:17 -06:00
parent 2ebf66c3a1
commit d47d78664c
5 changed files with 16 additions and 5 deletions
@@ -339,7 +339,9 @@ class PlaybackPanelFragment :
}
private fun updatePagerImpl(queue: PagerQueue) {
val binding = requireBinding()
// Android insanity means this may be executed after view destruction
// but only on some devices.
val binding = binding ?: return
val command = playbackModel.pagerCommand.consume()
if (command == null) {