mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-29 22:24:29 +02:00
require the selection of an audio source before downloading
Changelog: changed
This commit is contained in:
parent
8c879c68d9
commit
f31abac409
@ -343,7 +343,9 @@ class UISlideOverlays {
|
|||||||
selectedVideoVariant =
|
selectedVideoVariant =
|
||||||
DashManifestSourceDelegate(source, it.format.width, it.format.height, it.format.containerMimeType!!)
|
DashManifestSourceDelegate(source, it.format.width, it.format.height, it.format.containerMimeType!!)
|
||||||
slideUpMenuOverlay.selectOption(videoButtons, it)
|
slideUpMenuOverlay.selectOption(videoButtons, it)
|
||||||
slideUpMenuOverlay.setOk(container.context.getString(R.string.download))
|
if (audioButtons.isEmpty()){
|
||||||
|
slideUpMenuOverlay.setOk(container.context.getString(R.string.download))
|
||||||
|
}
|
||||||
}, invokeParent = false
|
}, invokeParent = false
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -466,7 +468,9 @@ class UISlideOverlays {
|
|||||||
source.setPreferredHeight(it.height)
|
source.setPreferredHeight(it.height)
|
||||||
selectedVideoVariant = source
|
selectedVideoVariant = source
|
||||||
slideUpMenuOverlay.selectOption(videoButtons, it)
|
slideUpMenuOverlay.selectOption(videoButtons, it)
|
||||||
slideUpMenuOverlay.setOk(container.context.getString(R.string.download))
|
if (audioButtons.isEmpty()){
|
||||||
|
slideUpMenuOverlay.setOk(container.context.getString(R.string.download))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
invokeParent = false
|
invokeParent = false
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user