From bd3d2008c27f7d10887fa758492c575a0a27c3b9 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 18 Sep 2023 14:30:24 +0200 Subject: [PATCH] Fix #1483 --- .../Status/Sources/Status/Editor/UITextView/Coordinator.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Packages/Status/Sources/Status/Editor/UITextView/Coordinator.swift b/Packages/Status/Sources/Status/Editor/UITextView/Coordinator.swift index a625b78e..fdc74868 100644 --- a/Packages/Status/Sources/Status/Editor/UITextView/Coordinator.swift +++ b/Packages/Status/Sources/Status/Editor/UITextView/Coordinator.swift @@ -45,6 +45,9 @@ extension TextView.Representable { textView.allowsEditingTextAttributes = false textView.returnKeyType = .default textView.allowsEditingTextAttributes = true + if !ProcessInfo.processInfo.isiOSAppOnMac { + textView.inlinePredictionType = .no + } self.getTextView?(textView) }