星级厨房静态飘屏UI修改

This commit is contained in:
huangjian
2023-02-17 16:18:35 +08:00
parent 2ce4ca1037
commit fb8f36929f

View File

@@ -614,7 +614,7 @@ class RoomEffectView @JvmOverloads constructor(
private fun showKitchenNotify(chatRoomMessage: ChatRoomMessage) {
val attachment = chatRoomMessage.attachment as RoomKitchenAttachment
val textView =
LayoutInflater.from(mContext).inflate(R.layout.layout_room_box_notify, null) as TextView
LayoutInflater.from(mContext).inflate(R.layout.layout_room_kitchen_notify, null) as TextView
val text = MsgBuilder.buildKitchenMsg(attachment)
textView.text = text.build()
MsgBuilder.setUpKitchenClick(textView, attachment.skipUrl, attachment.needLevel)