fix:修复房间消息列表-消息展示不完整问题

This commit is contained in:
max
2024-05-13 16:27:51 +08:00
parent ca8f581c69
commit a86950f80a

View File

@@ -66,7 +66,7 @@ public class CustomAutoWidthImageSpan extends ImageSpan {
if (textView == null) return true;
CustomAutoWidthImageSpan.this.drawable = resource;
CustomAutoWidthImageSpan.this.drawable.setBounds(0, 0, width, height);
textView.postInvalidate();
textView.setText(textView.getText());
return true;
}
})