1
0
Fork 0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2025-10-04 02:09:41 +02:00

merge chagnes with dev

This commit is contained in:
Christian Schabesberger 2018-04-29 13:01:37 +02:00
parent 4c10ef65f5
commit ac2fa74c8f
2 changed files with 10 additions and 1 deletions

View file

@ -328,8 +328,17 @@ public class MainActivity extends AppCompatActivity {
case android.R.id.home:
onHomeButtonPressed();
return true;
case R.id.action_show_downloads:
return NavigationHelper.openDownloads(this);
case R.id.action_history:
NavigationHelper.openStatisticFragment(getSupportFragmentManager());
return true;
case R.id.action_about:
NavigationHelper.openAbout(this);
return true;
case R.id.action_settings:
NavigationHelper.openSettings(this);
return true;
default:
return super.onOptionsItemSelected(item);
}