Skip to content

Commit c808bee

Browse files
committed
Fix ErrorActivity actionbar back button not working
The issue is because of R.id.home != android.R.id.home
1 parent 9fc6f19 commit c808bee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public boolean onCreateOptionsMenu(final Menu menu) {
191191
@Override
192192
public boolean onOptionsItemSelected(final MenuItem item) {
193193
switch (item.getItemId()) {
194-
case R.id.home:
194+
case android.R.id.home:
195195
onBackPressed();
196196
return true;
197197
case R.id.menu_item_share_error:

0 commit comments

Comments
 (0)