mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-31 07:00:24 -05:00
parent
882333ce05
commit
2737aedca7
@ -370,9 +370,6 @@ public class KeyListPublicFragment extends Fragment implements SearchView.OnQuer
|
|||||||
public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) {
|
public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) {
|
||||||
// Get the searchview
|
// Get the searchview
|
||||||
MenuItem searchItem = menu.findItem(R.id.menu_key_list_public_search);
|
MenuItem searchItem = menu.findItem(R.id.menu_key_list_public_search);
|
||||||
MenuItem addContactItem = menu.findItem(R.id.menu_key_list_public_import);
|
|
||||||
|
|
||||||
addContactItem.setVisible(false);//Hide Add Contacts Icon
|
|
||||||
mSearchView = (SearchView) MenuItemCompat.getActionView(searchItem);
|
mSearchView = (SearchView) MenuItemCompat.getActionView(searchItem);
|
||||||
|
|
||||||
// Execute this when searching
|
// Execute this when searching
|
||||||
|
Loading…
Reference in New Issue
Block a user