Marino 8 年之前
父节点
当前提交
be58fa8d14
共有 1 个文件被更改,包括 3 次插入0 次删除
  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)")
                                         }
                                     }