mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-06-27 15:40:09 +03:00
Fix a crash when animating a custom emoji
This commit is contained in:
parent
5cb3b43eeb
commit
524fb7dd2a
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,9 @@ public class CustomEmoji extends ReplacementSpan {
|
||||||
if (drawableCallBack != null) {
|
if (drawableCallBack != null) {
|
||||||
drawableCallBack.invalidateDrawable(drawable);
|
drawableCallBack.invalidateDrawable(drawable);
|
||||||
}
|
}
|
||||||
view.invalidate();
|
if(view != null) {
|
||||||
|
view.invalidate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue