Marino 8 years ago
parent
commit
be58fa8d14
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Share Ext/CCloadItemData.swift

+ 3 - 0
Share Ext/CCloadItemData.swift

@@ -98,14 +98,17 @@ class CCloadItemData: NSObject {
                                                 
                                                 if let _attr = attr {
                                                     if _attr.fileSize() > 0 {
+                                                        
                                                         filesName.append(fileName)
                                                     }
                                                 }
                                                 
                                             } catch let error as NSError {
+                                                
                                                 print("Error: \(error.localizedDescription)")
                                             }                                            
                                         } catch let error as NSError {
+                                            
                                             print("Cannot copy file: \(error.localizedDescription)")
                                         }
                                     }