mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 12:54:11 +01:00
Refactoring
This commit is contained in:
@@ -227,7 +227,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
||||
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);
|
||||
if (ShortcutManagerCompat.isRequestPinShortcutSupported(context))
|
||||
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);
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_delete, 5, R.string.title_delete);
|
||||
|
||||
Reference in New Issue
Block a user