From cd9447abb4cdf61d401038d36bc9454a080f8d87 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 17 Sep 2019 11:40:58 -0500 Subject: [PATCH] Made Settings attributed string views selectable so that the links in them work --- iOS/Settings/SettingsAttributedStringView.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/iOS/Settings/SettingsAttributedStringView.swift b/iOS/Settings/SettingsAttributedStringView.swift index 0bee143b6..f43f83c9b 100644 --- a/iOS/Settings/SettingsAttributedStringView.swift +++ b/iOS/Settings/SettingsAttributedStringView.swift @@ -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 }