Skip to content

Commit

Permalink
Merge pull request #713 from Infomaniak/data-detector-text-message
Browse files Browse the repository at this point in the history
feat: Data detector text message
  • Loading branch information
valentinperignon committed Apr 25, 2023
2 parents 087977d + babaa07 commit 1b504b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mail/Views/Thread/SelectableTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ struct SelectableTextView: UIViewRepresentable {
let text: String?
func makeUIView(context: Context) -> UITextView {
let textView = UITextView()
textView.dataDetectorTypes = .all
textView.isScrollEnabled = false
textView.isEditable = false
textView.textContainer.lineFragmentPadding = 0
Expand Down

0 comments on commit 1b504b1

Please sign in to comment.