ios: disallow editing text attributes

This commit is contained in:
Evgeny Poberezkin
2022-12-25 13:58:07 +00:00
parent 166b789f3c
commit c11a1aa0e6
@@ -21,7 +21,6 @@ struct NativeTextEditor: UIViewRepresentable {
func makeUIView(context: Context) -> UITextView {
let field = CustomUITextField()
field.allowsEditingTextAttributes = true
field.text = text
field.font = font
field.textAlignment = alignment == .leading ? .left : .right