mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 02:58:27 +00:00
Update SpellChecker.swift to support VisionOS (#32)
This commit is contained in:
@@ -13,7 +13,7 @@ import AppKit
|
||||
#endif
|
||||
|
||||
@MainActor final class SpellChecker {
|
||||
#if os(iOS) || os(tvOS)
|
||||
#if os(iOS) || os(tvOS) || os(visionOS)
|
||||
private let checker = UITextChecker()
|
||||
#elseif os(macOS)
|
||||
private let checker = NSSpellChecker.shared
|
||||
|
||||
Reference in New Issue
Block a user