Skip to content

Commit 9f92961

Browse files
committed
set window name to coder file sync
1 parent 3486de3 commit 9f92961

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Coder-Desktop/Coder-Desktop/Coder_DesktopApp.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct DesktopApp: App {
2323
.environmentObject(appDelegate.state)
2424
}
2525
.windowResizability(.contentSize)
26-
Window("File Sync", id: Windows.fileSync.rawValue) {
26+
Window("Coder File Sync", id: Windows.fileSync.rawValue) {
2727
FileSyncConfig<CoderVPNService, MutagenDaemon>()
2828
.environmentObject(appDelegate.state)
2929
.environmentObject(appDelegate.fileSyncDaemon)

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ struct FileSyncConfig<VPN: VPNService, FS: FileSyncDaemon>: View {
3030
.width(min: 60, ideal: 80)
3131
}
3232
.contextMenu(forSelectionType: FileSyncSession.ID.self, menu: { _ in },
33-
primaryAction: { selectedSessions in
34-
if let session = selectedSessions.first {
35-
editingSession = fileSync.sessionState.first(where: { $0.id == session })
36-
}
37-
})
33+
primaryAction: { selectedSessions in
34+
if let session = selectedSessions.first {
35+
editingSession = fileSync.sessionState.first(where: { $0.id == session })
36+
}
37+
})
3838
.frame(minWidth: 400, minHeight: 200)
3939
.padding(.bottom, 25)
4040
.overlay(alignment: .bottom) {

0 commit comments

Comments
 (0)