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

Commita553fb6

Browse files
committed
rebase
1 parent1dfafa8 commita553fb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
5454
pickingRemote=true
5555
} label:{
5656
Image(systemName:"folder")
57-
}.disabled(workspace==nil)
58-
.help(workspace==nil?"Select a workspace first":"Open File Picker")
57+
}.disabled(remoteHostname==nil)
58+
.help(remoteHostname==nil?"Select a workspace first":"Open File Picker")
5959
}
6060
}
6161
}.formStyle(.grouped).scrollDisabled(true).padding(.horizontal)
@@ -83,7 +83,7 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
8383
)){} message:{
8484
Text(createError?.description??"An unknown error occurred.")
8585
}.sheet(isPresented: $pickingRemote){
86-
FilePicker(host:workspace!.primaryHost!, outputAbsPath: $remotePath)
86+
FilePicker(host:remoteHostname!, outputAbsPath: $remotePath)
8787
.frame(width:300, height:400)
8888
}
8989
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp