mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-17 12:21:22 +00:00
add downloads menu item to detail fragment
This commit is contained in:
@@ -180,6 +180,12 @@ class ActionBarHandler {
|
||||
onPlayAudioListener.onActionSelected(selectedVideoStream);
|
||||
}
|
||||
return true;
|
||||
case R.id.menu_item_downloads: {
|
||||
Intent intent =
|
||||
new Intent(activity, org.schabi.newpipe.download.MainActivity.class);
|
||||
activity.startActivity(intent);
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
Log.e(TAG, "Menu Item not known");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user