Skip to content

Commit 82cc4ba

Browse files
committed
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 5 additions & 5 deletions
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

Lines changed: 0 additions & 3 deletions
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)
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