Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 82cc4ba

Browse files
committedMar 25, 2025·
set window name to coder file sync
1 parent 3486de3 commit 82cc4ba

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
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) {

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

-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
5252
Divider()
5353
HStack {
5454
Spacer()
55-
if loading {
56-
ProgressView()
57-
}
5855
Button("Cancel", action: { dismiss() }).keyboardShortcut(.cancelAction)
5956
Button(existingSession == nil ? "Add" : "Save") { Task { await submit() }}
6057
.keyboardShortcut(.defaultAction)

0 commit comments

Comments
 (0)
Please sign in to comment.