Not sure how this can happen, seems very rare, maybe a race condition?

(cherry picked from commit 413b21341e34a613edf1eb59660450546852df83)
This commit is contained in:
Stephen Paul Weber 2024-09-26 11:50:14 -05:00 committed by Arne
parent aee8254986
commit 7f594e09a0

View file

@ -298,7 +298,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
fileSize = null;
error = message.getStatus() == Message.STATUS_SEND_FAILED;
}
if (type == SENT) {
if (type == SENT && viewHolder.indicatorReceived != null) {
final @DrawableRes Integer receivedIndicator =
getMessageStatusAsDrawable(message, mergedStatus);
if (receivedIndicator == null) {