mirror of https://github.com/M66B/FairEmail.git
Distinguish send and sent
This commit is contained in:
parent
bf608284b4
commit
4808f118bd
|
@ -86,7 +86,7 @@ public class AdapterNavFolder extends RecyclerView.Adapter<AdapterNavFolder.View
|
|||
if ("syncing".equals(folder.sync_state))
|
||||
ivItem.setImageResource(R.drawable.baseline_compare_arrows_24);
|
||||
else
|
||||
ivItem.setImageResource(R.drawable.baseline_send_24);
|
||||
ivItem.setImageResource(EntityFolder.getIcon(folder.type));
|
||||
|
||||
ivItem.clearColorFilter();
|
||||
} else {
|
||||
|
|
|
@ -203,10 +203,12 @@ public class EntityFolder extends EntityOrder implements Serializable {
|
|||
static int getIcon(String type) {
|
||||
if (EntityFolder.INBOX.equals(type))
|
||||
return R.drawable.baseline_inbox_24;
|
||||
if (EntityFolder.OUTBOX.equals(type))
|
||||
return R.drawable.baseline_send_24;
|
||||
if (EntityFolder.DRAFTS.equals(type))
|
||||
return R.drawable.baseline_drafts_24;
|
||||
if (EntityFolder.SENT.equals(type))
|
||||
return R.drawable.baseline_send_24;
|
||||
return R.drawable.baseline_forward_24;
|
||||
if (EntityFolder.ARCHIVE.equals(type))
|
||||
return R.drawable.baseline_archive_24;
|
||||
if (EntityFolder.TRASH.equals(type))
|
||||
|
|
Loading…
Reference in New Issue