mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 20:24:32 +01:00
Remove jumpiness when rendering reactions.
This commit is contained in:
@@ -42,7 +42,6 @@ import android.util.AttributeSet;
|
||||
import android.util.TypedValue;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
@@ -912,10 +911,7 @@ public class ConversationItem extends LinearLayout implements BindableConversati
|
||||
return;
|
||||
}
|
||||
|
||||
if (bodyBubble.getWidth() != 0) {
|
||||
setReactionsWithWidth(current, bodyBubble.getWidth());
|
||||
}
|
||||
|
||||
setReactionsWithWidth(current, bodyBubble.getWidth());
|
||||
bodyBubble.setOnSizeChangedListener((width, height) -> setReactionsWithWidth(current, width));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user