Revert "Fixed download button overlay not working in more button."

This reverts commit 1dc6eee242.
This commit is contained in:
Koen 2023-12-20 12:02:35 +01:00
commit 0154525578

View file

@ -783,12 +783,9 @@ 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) { video?.let {
delay(500) _slideUpOverlay = UISlideOverlays.showDownloadVideoOverlay(it, _overlayContainer, context.contentResolver);
video?.let { };
_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 {