Fix a crash when animating a custom emoji

This commit is contained in:
Thomas 2025-03-24 07:32:43 +01:00
parent 5cb3b43eeb
commit 524fb7dd2a

View file

@ -106,7 +106,9 @@ public class CustomEmoji extends ReplacementSpan {
if (drawableCallBack != null) {
drawableCallBack.invalidateDrawable(drawable);
}
view.invalidate();
if(view != null) {
view.invalidate();
}
}
@Override