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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy