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
+2 -2
View File
@@ -16,8 +16,8 @@ android {
defaultConfig {
applicationId namespace
versionName "4.1.2"
versionCode 72
versionName "4.1.3"
versionCode 73
minSdk min_sdk
// randomly flickers between deprecated and required depending on what mood my gradle is in
@@ -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) {