queue: hide the drag handle on the playing row
This commit is contained in:
@@ -174,6 +174,8 @@ class QueueSongViewHolder private constructor(private val binding: ItemEditableS
|
|||||||
isActiveRow = isActive
|
isActiveRow = isActive
|
||||||
binding.interactBody.isSelected = isActive
|
binding.interactBody.isSelected = isActive
|
||||||
binding.songAlbumCover.setPlaying(isPlaying)
|
binding.songAlbumCover.setPlaying(isPlaying)
|
||||||
|
// The playing row is neither draggable nor swipeable; hide the drag affordance.
|
||||||
|
binding.songDragHandle.isInvisible = isActive
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|||||||
Reference in New Issue
Block a user