Skip to content

Commit

Permalink
fix quickphrase dir not auto created (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Jan 15, 2025
1 parent 1696a50 commit ff0253d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/quickphrase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ struct QuickPhraseView: View {
Text("Cancel")
}
Button {
mkdirP(localQuickphrasePath)
let localURL = localQuickphraseDir.appendingPathComponent(newFileName + ".mb")
if !writeUTF8(localURL, "") {
showCreateFailed = true
Expand Down

0 comments on commit ff0253d

Please sign in to comment.