mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Show star outline when no starred messages in folder
This commit is contained in:
parent
a12bced984
commit
5d8964703e
1 changed files with 2 additions and 0 deletions
|
@ -347,6 +347,8 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
|||
tvKeywords.setVisibility(show_flagged ? View.VISIBLE : View.GONE);
|
||||
|
||||
tvFlagged.setText(NF.format(folder.flagged));
|
||||
ibFlagged.setImageResource(folder.flagged == 0
|
||||
? R.drawable.baseline_star_border_24 : R.drawable.baseline_star_24);
|
||||
|
||||
tvError.setText(folder.error);
|
||||
tvError.setVisibility(folder.error != null ? View.VISIBLE : View.GONE);
|
||||
|
|
Loading…
Reference in a new issue