fix:修复装扮公屏展示问题

This commit is contained in:
Max
2024-02-01 14:58:16 +08:00
parent 4fd1bd73ea
commit b6972ee445
2 changed files with 2 additions and 2 deletions

View File

@@ -2980,7 +2980,7 @@ public class MessageView extends FrameLayout {
} }
} }
}) })
.append(" 获得 "+dressName+"装扮 ", new ForegroundColorSpan(whiteColor)) .append(" 获得 "+dressName, new ForegroundColorSpan(whiteColor))
.append(dressImage, giftLength, giftLength); .append(dressImage, giftLength, giftLength);
tvContent.setText(text.build()); tvContent.setText(text.build());
tvContent.setOnClickListener(null); tvContent.setOnClickListener(null);

View File

@@ -22,7 +22,7 @@ class DressUpGiftAttachment : CustomAttachment {
} }
fun getDressUrlNotNull(): String { fun getDressUrlNotNull(): String {
return dressName ?: "" return dressUrl ?: ""
} }
override fun parseData(data: JSONObject?) { override fun parseData(data: JSONObject?) {