Skip to content

Commit

Permalink
Share icon removed if you select a file and share with oC from an ext…
Browse files Browse the repository at this point in the history
…ernal app
  • Loading branch information
davcres committed May 19, 2022
1 parent ba7982c commit 32c8929
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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;
}

Expand Down

0 comments on commit 32c8929

Please sign in to comment.