From ba3d8b18821e2ed71e4e119708692512d09f48f9 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Fri, 17 May 2024 13:55:55 +0200 Subject: [PATCH] Composer: disable predictive type on all platforms --- .../Sources/StatusKit/Editor/UITextView/Coordinator.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Packages/StatusKit/Sources/StatusKit/Editor/UITextView/Coordinator.swift b/Packages/StatusKit/Sources/StatusKit/Editor/UITextView/Coordinator.swift index d9bbfb5a..46a0bcff 100644 --- a/Packages/StatusKit/Sources/StatusKit/Editor/UITextView/Coordinator.swift +++ b/Packages/StatusKit/Sources/StatusKit/Editor/UITextView/Coordinator.swift @@ -45,9 +45,7 @@ extension TextView.Representable { textView.allowsEditingTextAttributes = false textView.returnKeyType = .default textView.allowsEditingTextAttributes = true - #if targetEnvironment(macCatalyst) - textView.inlinePredictionType = .no - #endif + textView.inlinePredictionType = .no self.getTextView?(textView) }