We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2728dd commit 59d3affCopy full SHA for 59d3aff
Coder-Desktop/Coder-Desktop/VPN/VPNProgress.swift
@@ -48,8 +48,8 @@ struct VPNProgressView: View {
48
// doesn't support enums with associated values.
49
return 0.05
50
}
51
- // 40MB if the server doesn't give us the expected size
52
- let totalBytes = downloadProgress.totalBytesToWrite ?? 40_000_000
+ // 35MB if the server doesn't give us the expected size
+ let totalBytes = downloadProgress.totalBytesToWrite ?? 35_000_000
53
let downloadPercent = min(1.0, Float(downloadProgress.totalBytesWritten) / Float(totalBytes))
54
return 0.4 * downloadPercent
55
case .validating:
0 commit comments