Pressing back button in toolbar (in AppDetails) brings back where it sould

This commit is contained in:
Maestus 2017-04-23 23:16:19 +02:00
parent c4fd369feb
commit 07bc33d391

View File

@ -284,6 +284,9 @@ public class AppDetails2 extends AppCompatActivity implements ShareChooserDialog
item.setChecked(app.getPrefs(this).ignoreThisUpdate > 0);
AppPrefsProvider.Helper.update(this, app, app.getPrefs(this));
return true;
} else if (item.getItemId() == android.R.id.home) {
onBackPressed();
return true;
}
return super.onOptionsItemSelected(item);
}