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

Merge branch 'feature-improve-search-fragment' of git://github.com/coffeemakr/NewPipe into cofe

This commit is contained in:
Christian Schabesberger 2017-01-22 14:42:36 +01:00
commit 7d6b92e064
15 changed files with 122 additions and 105 deletions

View file

@ -51,8 +51,6 @@ public class MainActivity extends ThemableActivity {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main_menu, menu);
mainFragment.onCreateOptionsMenu(menu, inflater);
return true;
}
@ -81,8 +79,7 @@ public class MainActivity extends ThemableActivity {
return true;
}
default:
return mainFragment.onOptionsItemSelected(item) ||
super.onOptionsItemSelected(item);
return super.onOptionsItemSelected(item);
}
}
}