mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-25 01:20:34 +00:00
remove entry points in three dot menu in main screen
This commit is contained in:
parent
d6f7b4706b
commit
2986004638
@ -307,9 +307,6 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
case R.id.action_about:
|
case R.id.action_about:
|
||||||
NavigationHelper.openAbout(this);
|
NavigationHelper.openAbout(this);
|
||||||
return true;
|
return true;
|
||||||
case R.id.action_history:
|
|
||||||
NavigationHelper.openHistory(this);
|
|
||||||
return true;
|
|
||||||
default:
|
default:
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
||||||
|
|
||||||
<item android:id="@+id/action_show_downloads"
|
|
||||||
android:orderInCategory="980"
|
|
||||||
android:title="@string/downloads"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
|
|
||||||
<item android:id="@+id/action_history"
|
|
||||||
android:orderInCategory="981"
|
|
||||||
android:title="@string/action_history"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
|
|
||||||
<item android:id="@+id/action_settings"
|
|
||||||
android:orderInCategory="990"
|
|
||||||
android:title="@string/settings"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
|
|
||||||
|
|
||||||
<item android:id="@+id/action_about"
|
<item android:id="@+id/action_about"
|
||||||
android:orderInCategory="1000"
|
android:orderInCategory="1000"
|
||||||
|
Loading…
Reference in New Issue
Block a user