Show outbox as downloading

pull/147/head
M66B 6 years ago
parent ea79c0d23c
commit 06848b9417

@ -163,7 +163,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
tvName.setTextColor(folder.unseen > 0 ? colorUnread : textColorSecondary); tvName.setTextColor(folder.unseen > 0 ? colorUnread : textColorSecondary);
tvMessages.setText(String.format("%d/%d", folder.content, folder.messages)); tvMessages.setText(String.format("%d/%d", folder.content, folder.messages));
ivMessages.setImageResource(folder.download && !EntityFolder.OUTBOX.equals(folder.type) ivMessages.setImageResource(folder.download || EntityFolder.OUTBOX.equals(folder.type)
? R.drawable.baseline_mail_24 : R.drawable.baseline_mail_outline_24); ? R.drawable.baseline_mail_24 : R.drawable.baseline_mail_outline_24);
ivUnified.setVisibility(account > 0 && folder.unified ? View.VISIBLE : View.INVISIBLE); ivUnified.setVisibility(account > 0 && folder.unified ? View.VISIBLE : View.INVISIBLE);

Loading…
Cancel
Save