From a7269fbbbebee22c7f7059bd2db0c7dc4c656ff6 Mon Sep 17 00:00:00 2001 From: Miwa / Ensan <63481257+ensan-hcl@users.noreply.github.com> Date: Tue, 6 Feb 2024 23:41:35 +0900 Subject: [PATCH] Update SpellChecker.swift (#34) --- Sources/KanaKanjiConverterModule/Converter/SpellChecker.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/KanaKanjiConverterModule/Converter/SpellChecker.swift b/Sources/KanaKanjiConverterModule/Converter/SpellChecker.swift index 84c5f6d..e44cfa8 100644 --- a/Sources/KanaKanjiConverterModule/Converter/SpellChecker.swift +++ b/Sources/KanaKanjiConverterModule/Converter/SpellChecker.swift @@ -20,7 +20,7 @@ import AppKit #endif func completions(forPartialWordRange range: NSRange, in string: String, language: String) -> [String]? { - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) return checker.completions(forPartialWordRange: range, in: string, language: language) #elseif os(macOS) return checker.completions(forPartialWordRange: range, in: string, language: language, inSpellDocumentWithTag: 0)