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
+5
View File
@@ -1,3 +1,8 @@
## v4.1.3
## What's Fixed
- Fixed another crash with the changes to make the playback pager smoother
## v4.1.2
## What's Fixed
+2 -2
View File
@@ -2,8 +2,8 @@
<h1 align="center"><b>Auxio</b></h1>
<h4 align="center">A simple, rational music player for Android.</h4>
<p align="center">
<a href="https://github.com/oxygencobalt/Auxio/releases/tag/v4.1.2">
<img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v4.1.2&color=64B5F6&style=flat">
<a href="https://github.com/oxygencobalt/Auxio/releases/tag/v4.1.3">
<img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v4.1.3&color=64B5F6&style=flat">
</a>
<a href="https://github.com/oxygencobalt/Auxio/releases/">
<img alt="Releases" src="https://img.shields.io/github/downloads/OxygenCobalt/Auxio/total.svg?color=4B95DE&style=flat">
+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) {
@@ -0,0 +1,4 @@
Auxio v4.1.0 refreshes the UI to align with Material 3 Expressive, improves the playback user experience, and adds a variety of general quality-of-life improvements.
This patch fixes playback buttons being smaller than before on some devices alongside fixing a crash / alleviating some UI jank on skipping to the next/prev song
For more information, see https://github.com/OxygenCobalt/Auxio/releases/tag/v4.1.1.