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: case android.R.id.home:
onBackPressed(); onBackPressed();
return true; return true;
case R.id.action_settings:
NavigationHelper.openSettings(this);
return true;
default: default:
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }

View File

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