diff --git a/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java b/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java index 6143b858677..2885cc8bcc6 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java +++ b/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java @@ -668,6 +668,8 @@ public boolean onCreateOptionsMenu(Menu menu) { mSearchView.setOnQueryTextFocusChangeListener(this); mSearchView.setOnQueryTextListener(this); + menu.removeItem(menu.findItem(R.id.action_share_file).getItemId()); + return true; }