Enable text selection in conversation main status

This commit is contained in:
Shadowfacts 2020-01-18 16:18:32 -05:00
parent 784c71342d
commit 5d86b35672
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 1 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class ContentTextView: LinkTextView {
// only accept touches that are over a link // only accept touches that are over a link
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
if getLinkAtPoint(point) != nil { if getLinkAtPoint(point) != nil || isSelectable {
return self return self
} else { } else {
return nil return nil

View File

@ -17,7 +17,6 @@ class LinkTextView: UITextView {
isScrollEnabled = false isScrollEnabled = false
isEditable = false isEditable = false
isUserInteractionEnabled = true isUserInteractionEnabled = true
isSelectable = true // is this necessary?
} }
} }