diff --git a/iOS/Settings/SettingsAttributedStringView.swift b/iOS/Settings/SettingsAttributedStringView.swift index c1adf4a0c..0bee143b6 100644 --- a/iOS/Settings/SettingsAttributedStringView.swift +++ b/iOS/Settings/SettingsAttributedStringView.swift @@ -13,15 +13,19 @@ struct SettingsAttributedStringView: UIViewRepresentable { let string: NSAttributedString func makeUIView(context: Context) -> UITextView { - let textView = UITextView() + textView.attributedText = string - textView.adjustsFontForContentSizeCategory = true textView.translatesAutoresizingMaskIntoConstraints = 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 }