diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift index 4a305bc4..c3ea615f 100644 --- a/damus/Views/TextViewWrapper.swift +++ b/damus/Views/TextViewWrapper.swift @@ -28,6 +28,10 @@ struct TextViewWrapper: UIViewRepresentable { textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) textView.setContentCompressionResistancePriority(.required, for: .vertical) + if #available(iOS 17.0, *) { + textView.inlinePredictionType = .no + } + TextViewWrapper.setTextProperties(textView) return textView }