mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Fix for #347
This commit is contained in:
parent
0a0bdad5b5
commit
dd80ddd6f9
@ -354,6 +354,9 @@ 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