Avoids status refresh if no card
This commit is contained in:
parent
a8d02ba0b1
commit
1874fec5aa
|
@ -280,9 +280,11 @@ public class ShowConversationActivity extends BaseActivity implements OnRetrieve
|
|||
int position = 0;
|
||||
for(Status status: this.statuses) {
|
||||
if( initialStatus.getId().equals(status.getId())) {
|
||||
this.statuses.get(position).setCard(card);
|
||||
initialStatus.setCard(card);
|
||||
statusListAdapter.notifyItemChanged(position);
|
||||
if( card != null) {
|
||||
this.statuses.get(position).setCard(card);
|
||||
initialStatus.setCard(card);
|
||||
statusListAdapter.notifyItemChanged(position);
|
||||
}
|
||||
return;
|
||||
}
|
||||
position++;
|
||||
|
|
Loading…
Reference in New Issue