Skip to content

Commit deeb78b

Browse files
committed
very important fix
1 parent 8a1a200 commit deeb78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
6868
}.disabled(loading)
6969
.alert("Error", isPresented: Binding(
7070
get: { createError != nil },
71-
set: { if $0 { createError = nil } }
71+
set: { if !$0 { createError = nil } }
7272
)) {} message: {
7373
Text(createError?.description ?? "An unknown error occurred.")
7474
}

0 commit comments

Comments
 (0)