Skip to content

Commit

Permalink
Merge pull request #1643 from nextcloud/fix-upload-crash-on-talk-fold…
Browse files Browse the repository at this point in the history
…er-creation

Fix crash when Talk folder does not exist
  • Loading branch information
Ivansss authored Apr 30, 2024
2 parents 583e502 + 8ffb3cc commit 8cd98be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ShareExtension/ShareConfirmationViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,8 @@ import AVFoundation
self.uploadFile(to: fileServerURL, with: filePath, with: item)
} else {
self.uploadErrors.append(nkError.errorDescription)
self.uploadGroup.leave()
}

self.uploadGroup.leave()
}
} else {
NCUtils.log(String(format: "Failed to upload file. Error: %@", nkError.errorDescription))
Expand Down

0 comments on commit 8cd98be

Please sign in to comment.