Fixed from address not showing without avatars

This commit is contained in:
M66B 2019-01-22 11:43:48 +00:00
parent d78afd757e
commit fcf60f7fa5
1 changed files with 3 additions and 1 deletions

View File

@ -525,8 +525,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Helper.unexpectedError(context, owner, ex);
}
}.execute(context, owner, aargs, "message:avatar");
} else
} else {
ivAvatar.setVisibility(View.GONE);
tvFrom.setText(MessageHelper.formatAddresses(outgoing ? message.to : message.from, !compact, false));
}
vwColor.setBackgroundColor(message.accountColor == null ? Color.TRANSPARENT : message.accountColor);
vwColor.setVisibility(View.VISIBLE);