fix(dm): 쿼터 안내 광고 버튼을 숨긴다
This commit is contained in:
@@ -655,14 +655,11 @@ class ChatMessageAdapter : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
|
||||
|
||||
// endregion
|
||||
|
||||
/** 쿼터 안내 메시지 뷰홀더: 광고 보기 + 캔 구매 버튼 */
|
||||
class QuotaNoticeViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
|
||||
private val btnRewardedAd: View = itemView.findViewById(R.id.ll_rewarded_ad)
|
||||
private val btnPurchase10Can: View = itemView.findViewById(R.id.ll_purchase_10_can)
|
||||
private val btnPurchase20Can: View = itemView.findViewById(R.id.ll_purchase_20_can)
|
||||
|
||||
fun bind(onAction: (ChatQuotaNoticeAction) -> Unit) {
|
||||
btnRewardedAd.setOnClickListener { onAction(ChatQuotaNoticeAction.REWARDED_AD) }
|
||||
btnPurchase10Can.setOnClickListener { onAction(ChatQuotaNoticeAction.PURCHASE_10_CAN) }
|
||||
btnPurchase20Can.setOnClickListener { onAction(ChatQuotaNoticeAction.PURCHASE_20_CAN) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user