通知历史记录支持点击链接,支持长按选择复制

close: #140
This commit is contained in:
Fin 2023-07-25 14:56:39 +08:00
parent 49ae1ea6e3
commit b8e48f4f1a
No known key found for this signature in database
GPG Key ID: CFB59B99D87A7B93

View File

@ -25,11 +25,15 @@ class MessageTableViewCell: BaseTableViewCell<MessageTableViewCellViewModel> {
return label
}()
let bodyLabel: UILabel = {
let label = UILabel()
let bodyLabel: UITextView = {
let label = UITextView()
label.isEditable = false
label.dataDetectorTypes = [.phoneNumber, .link]
label.isScrollEnabled = false
label.textContainerInset = .zero
label.textContainer.lineFragmentPadding = 0
label.font = RobotoFont.regular(with: 14)
label.textColor = BKColor.grey.darken4
label.numberOfLines = 0
return label
}()