Commit 54b8b5e9 authored by Philip Brechler's avatar Philip Brechler

Fix that more then the selected files could be uploaded

parent 6ba219ef
......@@ -54,6 +54,7 @@ class HatcheryDetailViewController: UIViewController, HatcheryClientDelegate, Bl
// MARK: - HatcheryClientDelegate
func didDownloadEggToPath(_ path: URL) {
self.filesToTransfer.removeAll()
let folderName = FileManager.default.displayName(atPath: path.path)
do {
let fileURLs = try FileManager.default.contentsOfDirectory(at: path, includingPropertiesForKeys: nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment