mirror of https://github.com/M66B/FairEmail.git
Cycle through local contact states
This commit is contained in:
parent
0235ddcdf1
commit
ef3c59f2e6
|
@ -179,6 +179,8 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
|||
TupleContactEx contact = selected.get(pos);
|
||||
if (contact.state == EntityContact.STATE_DEFAULT)
|
||||
contact.state = EntityContact.STATE_FAVORITE;
|
||||
else if (contact.state == EntityContact.STATE_FAVORITE)
|
||||
contact.state = EntityContact.STATE_IGNORE;
|
||||
else
|
||||
contact.state = EntityContact.STATE_DEFAULT;
|
||||
|
||||
|
|
Loading…
Reference in New Issue