From c808beec300f1d3f36a7f77df682495c098f99bc Mon Sep 17 00:00:00 2001 From: Alireza Tofighi Date: Sun, 16 May 2021 02:19:52 +0430 Subject: [PATCH] Fix ErrorActivity actionbar back button not working The issue is because of R.id.home != android.R.id.home --- app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java b/app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java index 1bcd28d2e..106a86cfa 100644 --- a/app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java +++ b/app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java @@ -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: