Fix ErrorActivity actionbar back button not working

The issue is because of R.id.home != android.R.id.home
pull/6312/head
Alireza Tofighi 2021-05-16 02:19:52 +04:30
rodzic 9fc6f19702
commit c808beec30
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -191,7 +191,7 @@ public class ErrorActivity extends AppCompatActivity {
@Override
public boolean onOptionsItemSelected(final MenuItem item) {
switch (item.getItemId()) {
case R.id.home:
case android.R.id.home:
onBackPressed();
return true;
case R.id.menu_item_share_error: