mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Made Settings attributed string views selectable so that the links in them work
This commit is contained in:
@@ -17,15 +17,13 @@ struct SettingsAttributedStringView: UIViewRepresentable {
|
||||
|
||||
textView.attributedText = string
|
||||
textView.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
textView.isEditable = false
|
||||
|
||||
textView.adjustsFontForContentSizeCategory = true
|
||||
textView.font = .preferredFont(forTextStyle: .body)
|
||||
textView.textColor = UIColor.label
|
||||
textView.backgroundColor = UIColor.secondarySystemGroupedBackground
|
||||
|
||||
textView.isEditable = false
|
||||
textView.isSelectable = false
|
||||
|
||||
return textView
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user