fix:修复福袋飘窗礼物数量展示问题

This commit is contained in:
Max
2024-01-05 18:04:47 +08:00
parent 368ed2bf70
commit dc1383be70
2 changed files with 2 additions and 2 deletions

View File

@@ -629,7 +629,7 @@ class RoomEffectView @JvmOverloads constructor(
)
if (noticeInfo.giftNum > 1) {
text.append(
"" + noticeInfo.giftNum,
"X" + noticeInfo.giftNum,
ForegroundColorSpan(ContextCompat.getColor(context, R.color.white))
)
}

View File

@@ -320,7 +320,7 @@ public class AllPlayEffectDialog extends BaseDialog {
);
if (noticeInfo.getGiftNum() > 1) {
text.append(
"" + noticeInfo.getGiftNum(),
"X" + noticeInfo.getGiftNum(),
new ForegroundColorSpan(ContextCompat.getColor(getContext(), R.color.white))
);
}