mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Pending indicator was not cleared on recycled views.
// FREEBIE
This commit is contained in:
parent
4e87513867
commit
9f9293cd61
@ -280,7 +280,7 @@ public class ConversationItem extends LinearLayout {
|
|||||||
|
|
||||||
private void setStatusIcons(MessageRecord messageRecord) {
|
private void setStatusIcons(MessageRecord messageRecord) {
|
||||||
failedImage.setVisibility(messageRecord.isFailed() ? View.VISIBLE : View.GONE);
|
failedImage.setVisibility(messageRecord.isFailed() ? View.VISIBLE : View.GONE);
|
||||||
// pendingIndicator.setVisibility(View.GONE);
|
if (messageRecord.isOutgoing()) pendingIndicator.setVisibility(View.GONE);
|
||||||
if (messageRecord.isOutgoing()) indicatorText.setVisibility(View.GONE);
|
if (messageRecord.isOutgoing()) indicatorText.setVisibility(View.GONE);
|
||||||
|
|
||||||
secureImage.setVisibility(messageRecord.isSecure() ? View.VISIBLE : View.GONE);
|
secureImage.setVisibility(messageRecord.isSecure() ? View.VISIBLE : View.GONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user