1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-22 02:47:38 +00:00

Long-click to open the downloads activity

- Closes #1263
This commit is contained in:
Mauricio Colli
2018-04-08 16:53:15 -03:00
parent 7294220727
commit d494b6c934

View File

@@ -397,6 +397,9 @@ public class VideoDetailFragment
case R.id.detail_controls_popup:
openPopupPlayer(true);
break;
case R.id.detail_controls_download:
NavigationHelper.openDownloads(getActivity());
break;
}
return true;
@@ -518,6 +521,7 @@ public class VideoDetailFragment
detailControlsPopup.setOnClickListener(this);
detailControlsAddToPlaylist.setOnClickListener(this);
detailControlsDownload.setOnClickListener(this);
detailControlsDownload.setOnLongClickListener(this);
relatedStreamExpandButton.setOnClickListener(this);
detailControlsBackground.setLongClickable(true);