mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 16:33:47 +00:00
Pick all contacts for edit
This commit is contained in:
parent
206c84bfb0
commit
a88a8656b5
1 changed files with 1 additions and 1 deletions
|
@ -3090,7 +3090,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onPickContact(String name, String email) {
|
private void onPickContact(String name, String email) {
|
||||||
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Email.CONTENT_URI);
|
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
|
||||||
if (pick.resolveActivity(context.getPackageManager()) == null)
|
if (pick.resolveActivity(context.getPackageManager()) == null)
|
||||||
Snackbar.make(view, R.string.title_no_contacts, Snackbar.LENGTH_LONG).show();
|
Snackbar.make(view, R.string.title_no_contacts, Snackbar.LENGTH_LONG).show();
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue