mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-04 23:30:52 +00:00
Fixed download button overlay not working in more button.
This commit is contained in:
parent
c63a63cb33
commit
1dc6eee242
1 changed files with 6 additions and 3 deletions
|
@ -783,9 +783,12 @@ class VideoDetailView : ConstraintLayout {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
RoundButton(context, R.drawable.ic_download, context.getString(R.string.download), TAG_DOWNLOAD) {
|
RoundButton(context, R.drawable.ic_download, context.getString(R.string.download), TAG_DOWNLOAD) {
|
||||||
|
fragment.lifecycleScope.launch(Dispatchers.Main) {
|
||||||
|
delay(500)
|
||||||
video?.let {
|
video?.let {
|
||||||
_slideUpOverlay = UISlideOverlays.showDownloadVideoOverlay(it, _overlayContainer, context.contentResolver);
|
_slideUpOverlay = UISlideOverlays.showDownloadVideoOverlay(it, _overlayContainer, context.contentResolver);
|
||||||
};
|
};
|
||||||
|
}
|
||||||
},
|
},
|
||||||
RoundButton(context, R.drawable.ic_share, context.getString(R.string.share), TAG_SHARE) {
|
RoundButton(context, R.drawable.ic_share, context.getString(R.string.share), TAG_SHARE) {
|
||||||
video?.let {
|
video?.let {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue