Skip to content

Commit ff0253d

Browse files
authored
fix quickphrase dir not auto created (#219)
1 parent 1696a50 commit ff0253d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config/quickphrase.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ struct QuickPhraseView: View {
236236
Text("Cancel")
237237
}
238238
Button {
239+
mkdirP(localQuickphrasePath)
239240
let localURL = localQuickphraseDir.appendingPathComponent(newFileName + ".mb")
240241
if !writeUTF8(localURL, "") {
241242
showCreateFailed = true

0 commit comments

Comments
 (0)