Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitff0bea0

Browse files
fix: allow creating directories in file sync local file picker (#199)
Closes#198.I just assumed this was on by default 😭In fact, the documentation says it is, but it's very clearly not!```/** `NSSavePanel`/`NSOpenPanel`: Set to `YES` to show the "New Folder" button. Default is `YES`. */open var canCreateDirectories: Bool```
1 parent15f1890 commitff0bea0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Coder-Desktop/Coder-Desktop/Views/FileSync/FileSyncSessionModal.swift‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
2828
Button{
2929
letpanel=NSOpenPanel()
3030
panel.directoryURL=FileManager.default.homeDirectoryForCurrentUser
31+
panel.canCreateDirectories=true
3132
panel.allowsMultipleSelection=false
3233
panel.canChooseDirectories=true
3334
panel.canChooseFiles=false

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp