调整消息列表时间点击范围

This commit is contained in:
Fin 2024-09-27 15:42:41 +08:00
parent a304c08216
commit 2217e9736d

View File

@ -33,7 +33,8 @@ class MessageTableViewCell: BaseTableViewCell<MessageTableViewCellViewModel> {
}() }()
let dateLabel: UILabel = { let dateLabel: UILabel = {
let label = UILabel() let label = BKLabel()
label.hitTestSlop = UIEdgeInsets(top: -5, left: -5, bottom: -5, right: -5)
label.font = RobotoFont.medium(with: 11) label.font = RobotoFont.medium(with: 11)
label.textColor = BKColor.grey.base label.textColor = BKColor.grey.base
label.isUserInteractionEnabled = true label.isUserInteractionEnabled = true