diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index 69de6aef6b..ba88785560 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -846,6 +846,7 @@ public class FileDisplayActivity extends FileActivity @Override public boolean onOptionsItemSelected(MenuItem item) { boolean retval = true; + int itemId = item.getItemId(); if (itemId == android.R.id.home) {