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
No known key found for this signature in database
GPG Key ID: F200BFD6F29DDD85
1 changed files with 4 additions and 0 deletions

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);