Skip to content

Commit c376da1

Browse files
x3
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
1 parent dfc7369 commit c376da1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/NextcloudKit/NextcloudKit+Upload.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public extension NextcloudKit {
267267
#endif
268268

269269
#if os(visionOS) || os(iOS)
270-
if freeDisk < fileNameLocalSize * 2 {
270+
if freeDisk < fileNameLocalSize * 3 {
271271
// It seems there is not enough space to send the file
272272
return completion(account, nil, nil, .errorChunkNoEnoughMemory)
273273
}

0 commit comments

Comments
 (0)