From 8754cbb38ffac180ffe42543eb114da42e9c5c6f Mon Sep 17 00:00:00 2001 From: Stypox Date: Sat, 22 Feb 2020 11:12:22 +0100 Subject: [PATCH] Remove Settings button from download activity --- .../java/org/schabi/newpipe/download/DownloadActivity.java | 3 --- app/src/main/res/menu/download_menu.xml | 4 ---- 2 files changed, 7 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/download/DownloadActivity.java b/app/src/main/java/org/schabi/newpipe/download/DownloadActivity.java index 2c54f75cf..de3df3527 100644 --- a/app/src/main/java/org/schabi/newpipe/download/DownloadActivity.java +++ b/app/src/main/java/org/schabi/newpipe/download/DownloadActivity.java @@ -80,9 +80,6 @@ public class DownloadActivity extends AppCompatActivity { case android.R.id.home: onBackPressed(); return true; - case R.id.action_settings: - NavigationHelper.openSettings(this); - return true; default: return super.onOptionsItemSelected(item); } diff --git a/app/src/main/res/menu/download_menu.xml b/app/src/main/res/menu/download_menu.xml index c74dc804a..d41434711 100644 --- a/app/src/main/res/menu/download_menu.xml +++ b/app/src/main/res/menu/download_menu.xml @@ -26,8 +26,4 @@ android:icon="?attr/ic_delete" android:title="@string/clear_download_history" app:showAsAction="ifRoom" /> - -