kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Remove Settings button from download activity
rodzic
c7b4705538
commit
8754cbb38f
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue