mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +00:00
require the selection of an audio source before downloading
Changelog: changed
This commit is contained in:
parent
8c879c68d9
commit
f31abac409
1 changed files with 6 additions and 2 deletions
|
@ -343,7 +343,9 @@ class UISlideOverlays {
|
|||
selectedVideoVariant =
|
||||
DashManifestSourceDelegate(source, it.format.width, it.format.height, it.format.containerMimeType!!)
|
||||
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
|
||||
)
|
||||
)
|
||||
|
@ -466,7 +468,9 @@ class UISlideOverlays {
|
|||
source.setPreferredHeight(it.height)
|
||||
selectedVideoVariant = source
|
||||
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
|
||||
))
|
||||
|
|
Loading…
Add table
Reference in a new issue