Pressing back button in toolbar (in AppDetails) brings back where it sould
This commit is contained in:
parent
c4fd369feb
commit
07bc33d391
@ -284,6 +284,9 @@ public class AppDetails2 extends AppCompatActivity implements ShareChooserDialog
|
|||||||
item.setChecked(app.getPrefs(this).ignoreThisUpdate > 0);
|
item.setChecked(app.getPrefs(this).ignoreThisUpdate > 0);
|
||||||
AppPrefsProvider.Helper.update(this, app, app.getPrefs(this));
|
AppPrefsProvider.Helper.update(this, app, app.getPrefs(this));
|
||||||
return true;
|
return true;
|
||||||
|
} else if (item.getItemId() == android.R.id.home) {
|
||||||
|
onBackPressed();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user