mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Use filled stars
This commit is contained in:
parent
0f45a283d1
commit
f11f949070
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
|||
: Helper.getRelativeTimeSpanString(context, contact.last_contacted));
|
||||
|
||||
ivFavorite.setImageResource(contact.state == EntityContact.STATE_FAVORITE
|
||||
? R.drawable.twotone_star_24 : R.drawable.twotone_star_border_24);
|
||||
? R.drawable.baseline_star_24 : R.drawable.twotone_star_border_24);
|
||||
ivFavorite.setImageTintList(ColorStateList.valueOf(
|
||||
contact.state == EntityContact.STATE_FAVORITE ? colorAccent : textColorSecondary));
|
||||
ivFavorite.setContentDescription(contact.state == EntityContact.STATE_FAVORITE
|
||||
|
|
|
@ -373,7 +373,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
|||
|
||||
tvFlagged.setText(NF.format(folder.flagged));
|
||||
ibFlagged.setImageResource(folder.flagged == 0
|
||||
? R.drawable.twotone_star_border_24 : R.drawable.twotone_star_24);
|
||||
? R.drawable.twotone_star_border_24 : R.drawable.baseline_star_24);
|
||||
tvFlagged.setEnabled(folder.flagged > 0);
|
||||
ibFlagged.setEnabled(folder.flagged > 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue