mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Fix CI V2 layout bounds when item has a reaction.
This commit is contained in:
committed by
Greyson Parrelli
parent
3040b70100
commit
4590655dc5
@@ -63,9 +63,9 @@ public class ReactionsConversationView extends LinearLayout {
|
||||
removeAllViews();
|
||||
}
|
||||
|
||||
public void setReactions(@NonNull List<ReactionRecord> records, int bubbleWidth) {
|
||||
public boolean setReactions(@NonNull List<ReactionRecord> records, int bubbleWidth) {
|
||||
if (records.equals(this.records) && this.bubbleWidth == bubbleWidth) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
this.records.clear();
|
||||
@@ -102,6 +102,8 @@ public class ReactionsConversationView extends LinearLayout {
|
||||
ViewUtil.setLeftMargin(this, OUTER_MARGIN);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private static @NonNull List<Reaction> buildSortedReactionsList(@NonNull List<ReactionRecord> records) {
|
||||
|
||||
Reference in New Issue
Block a user