Skip to content

Commit 8754cbb

Browse files
committed
Remove Settings button from download activity
1 parent c7b4705 commit 8754cbb

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

app/src/main/java/org/schabi/newpipe/download/DownloadActivity.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
8080
case android.R.id.home:
8181
onBackPressed();
8282
return true;
83-
case R.id.action_settings:
84-
NavigationHelper.openSettings(this);
85-
return true;
8683
default:
8784
return super.onOptionsItemSelected(item);
8885
}

app/src/main/res/menu/download_menu.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,4 @@
2626
android:icon="?attr/ic_delete"
2727
android:title="@string/clear_download_history"
2828
app:showAsAction="ifRoom" />
29-
30-
<item android:id="@+id/action_settings"
31-
android:title="@string/settings"
32-
app:showAsAction="never" />
3329
</menu>

0 commit comments

Comments
 (0)