1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-05 01:26:23 +00:00

Remove Settings button from download activity

This commit is contained in:
Stypox 2020-02-22 11:12:22 +01:00
parent c7b4705538
commit 8754cbb38f
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
2 changed files with 0 additions and 7 deletions

View File

@ -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);
}

View File

@ -26,8 +26,4 @@
android:icon="?attr/ic_delete"
android:title="@string/clear_download_history"
app:showAsAction="ifRoom" />
<item android:id="@+id/action_settings"
android:title="@string/settings"
app:showAsAction="never" />
</menu>