kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale-android
Do not close NowPlayingBottomSheet between tracks.
If the user opens the NowPlayingBottomSheet whilst playing a non empty queue, leave the BottomSheet open at the end of the playing track. Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale-android/-/merge_requests/343>develop
rodzic
22a72d9e83
commit
2088e06a68
|
@ -74,8 +74,10 @@ class NowPlayingBottomSheet @JvmOverloads constructor(
|
|||
|
||||
override fun show() {
|
||||
behavior.isHideable = false
|
||||
if (behavior.state == BottomSheetBehavior.STATE_HIDDEN) {
|
||||
close()
|
||||
}
|
||||
}
|
||||
|
||||
override fun hide() {
|
||||
behavior.isHideable = true
|
||||
|
|
Ładowanie…
Reference in New Issue