IME // DispatchQueue openPhraseFile().
This commit is contained in:
parent
efe4929ad2
commit
c04ae907e1
|
@ -125,8 +125,10 @@ public enum IME {
|
||||||
// MARK: - Open a phrase data file.
|
// MARK: - Open a phrase data file.
|
||||||
|
|
||||||
static func openPhraseFile(fromURL url: URL) {
|
static func openPhraseFile(fromURL url: URL) {
|
||||||
|
DispatchQueue.main.async {
|
||||||
openPhraseFile(userFileAt: url.path)
|
openPhraseFile(userFileAt: url.path)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static func openPhraseFile(userFileAt path: String) {
|
static func openPhraseFile(userFileAt path: String) {
|
||||||
func checkIfUserFilesExist() -> Bool {
|
func checkIfUserFilesExist() -> Bool {
|
||||||
|
|
Loading…
Reference in New Issue