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:
commit
7d6b92e064
15 changed files with 122 additions and 105 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue