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

Commita1fd971

Browse files
committed
support editing sessions
1 parent91d773b commita1fd971

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ struct FileSyncConfig<VPN: VPNService, FS: FileSyncDaemon>: View {
2929
}
3030
.width(min:60, ideal:80)
3131
}
32+
.contextMenu(forSelectionType:FileSyncSession.ID.self, menu:{ _in},
33+
primaryAction:{ selectedSessionsin
34+
iflet session= selectedSessions.first{
35+
editingSession= fileSync.sessionState.first(where:{ $0.id== session})
36+
}
37+
})
3238
.frame(minWidth:400, minHeight:200)
3339
.padding(.bottom,25)
3440
.overlay(alignment:.bottom){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp