mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Fixed sharing local contacts
This commit is contained in:
parent
74b45d6322
commit
57969cda1b
1 changed files with 1 additions and 3 deletions
|
@ -234,9 +234,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
|||
|
||||
if (contact.state != EntityContact.STATE_IGNORE)
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_advanced_never_favorite, 1, R.string.title_advanced_never_favorite);
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R && // should be system whitelisted
|
||||
share.resolveActivity(context.getPackageManager()) != null)
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_share, 2, R.string.title_share);
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_share, 2, R.string.title_share); // should be system whitelisted
|
||||
if (Shortcuts.can(context))
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_pin, 3, R.string.title_pin);
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_advanced_edit_name, 4, R.string.title_advanced_edit_name);
|
||||
|
|
Loading…
Reference in a new issue