playback: fix broken queue sheet scroll
This commit is contained in:
+3
-1
@@ -100,7 +100,9 @@ dependencies {
|
||||
// noinspection GradleDependency
|
||||
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
||||
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
|
||||
implementation "androidx.viewpager2:viewpager2:1.1.0"
|
||||
// 1.1.0 upgrades recyclerview to 1.3.0, keep it on 1.0.0
|
||||
//noinspection GradleDependency
|
||||
implementation "androidx.viewpager2:viewpager2:1.0.0"
|
||||
|
||||
// Lifecycle
|
||||
def lifecycle_version = "2.8.3"
|
||||
|
||||
@@ -223,7 +223,7 @@ class PlaybackPanelFragment :
|
||||
val context = requireContext()
|
||||
logD("Updating song display: $song")
|
||||
binding.playbackCover.bind(song)
|
||||
binding.playbackSong?.text = song.name.resolve(context)
|
||||
binding.playbackSong.text = song.name.resolve(context)
|
||||
binding.playbackArtist.text = song.artists.resolveNames(context)
|
||||
binding.playbackAlbum?.text = song.album.name.resolve(context)
|
||||
binding.playbackSeekBar?.durationDs = song.durationMs.msToDs()
|
||||
|
||||
Reference in New Issue
Block a user