mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +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) {
|
||||
video?.let {
|
||||
_slideUpOverlay = UISlideOverlays.showDownloadVideoOverlay(it, _overlayContainer, context.contentResolver);
|
||||
};
|
||||
fragment.lifecycleScope.launch(Dispatchers.Main) {
|
||||
delay(500)
|
||||
video?.let {
|
||||
_slideUpOverlay = UISlideOverlays.showDownloadVideoOverlay(it, _overlayContainer, context.contentResolver);
|
||||
};
|
||||
}
|
||||
},
|
||||
RoundButton(context, R.drawable.ic_share, context.getString(R.string.share), TAG_SHARE) {
|
||||
video?.let {
|
||||
|
|
Loading…
Add table
Reference in a new issue