Skip to content

Commit 64c54d6

Browse files
committed
set open file dialog to home dir
1 parent 230bb09 commit 64c54d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
2121
Spacer()
2222
Button {
2323
let panel = NSOpenPanel()
24+
panel.directoryURL = FileManager.default.homeDirectoryForCurrentUser
2425
panel.allowsMultipleSelection = false
2526
panel.canChooseDirectories = true
2627
panel.canChooseFiles = false

0 commit comments

Comments
 (0)