Prevent flagging of outbox messages

This commit is contained in:
M66B 2018-12-27 13:40:37 +00:00
parent 90781742af
commit db41c5d85d
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
flagged = (message.count - message.unflagged > 0);
ivFlagged.setImageResource(flagged ? R.drawable.baseline_star_24 : R.drawable.baseline_star_border_24);
ivFlagged.setImageTintList(ColorStateList.valueOf(flagged ? colorAccent : textColorSecondary));
ivFlagged.setVisibility(View.VISIBLE);
ivFlagged.setVisibility(message.uid == null ? View.GONE : View.VISIBLE);
tvFrom.setText(MessageHelper.getFormattedAddresses(outgoing ? message.to : message.from, false));
tvSize.setText(message.size == null ? null : Helper.humanReadableByteCount(message.size, true));