Distinguish send and sent

This commit is contained in:
M66B 2019-07-23 09:21:46 +02:00
parent bf608284b4
commit 4808f118bd
2 changed files with 4 additions and 2 deletions

View File

@ -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 {

View File

@ -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))