IME // DispatchQueue openPhraseFile().

This commit is contained in:
ShikiSuen 2022-09-13 21:05:12 +08:00
parent efe4929ad2
commit c04ae907e1
1 changed files with 3 additions and 1 deletions

View File

@ -125,7 +125,9 @@ public enum IME {
// MARK: - Open a phrase data file.
static func openPhraseFile(fromURL url: URL) {
openPhraseFile(userFileAt: url.path)
DispatchQueue.main.async {
openPhraseFile(userFileAt: url.path)
}
}
static func openPhraseFile(userFileAt path: String) {