From 4271b080623f44d9d56e27dcfcca71fae9e7272d Mon Sep 17 00:00:00 2001 From: Rustam Shangareev Date: Sat, 7 Mar 2026 01:47:57 +0300 Subject: [PATCH] fix text substitution property setters in ChatInputTextView --- .../InputView/Sources/InputView/ChatInputTextView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/InputView/Sources/InputView/ChatInputTextView.swift b/packages/InputView/Sources/InputView/ChatInputTextView.swift index 8296e91a53..1a69c72a9d 100644 --- a/packages/InputView/Sources/InputView/ChatInputTextView.swift +++ b/packages/InputView/Sources/InputView/ChatInputTextView.swift @@ -1325,7 +1325,7 @@ public final class InputTextView: NSTextView, NSLayoutManagerDelegate, NSTextSto } set { UserDefaults.standard.set(newValue, forKey: "AutomaticQuoteSubstitutionEnabled\(settingsKey)") - super.isAutomaticSpellingCorrectionEnabled = newValue + super.isAutomaticQuoteSubstitutionEnabled = newValue } } @@ -1335,7 +1335,7 @@ public final class InputTextView: NSTextView, NSLayoutManagerDelegate, NSTextSto } set { UserDefaults.standard.set(newValue, forKey: "AutomaticLinkDetectionEnabled\(settingsKey)") - super.isAutomaticSpellingCorrectionEnabled = newValue + super.isAutomaticLinkDetectionEnabled = newValue } } @@ -1345,7 +1345,7 @@ public final class InputTextView: NSTextView, NSLayoutManagerDelegate, NSTextSto } set { UserDefaults.standard.set(newValue, forKey: "AutomaticDataDetectionEnabled\(settingsKey)") - super.isAutomaticSpellingCorrectionEnabled = newValue + super.isAutomaticDataDetectionEnabled = newValue } } @@ -1355,7 +1355,7 @@ public final class InputTextView: NSTextView, NSLayoutManagerDelegate, NSTextSto } set { UserDefaults.standard.set(newValue, forKey: "AutomaticDashSubstitutionEnabled\(settingsKey)") - super.isAutomaticSpellingCorrectionEnabled = newValue + super.isAutomaticDashSubstitutionEnabled = newValue } } }