Marino Faggiana 7 年之前
父节点
当前提交
4115252aa4
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      iOSClient/Database/NCManageDatabase.swift

+ 2 - 3
iOSClient/Database/NCManageDatabase.swift

@@ -1884,7 +1884,6 @@ class NCManageDatabase: NSObject {
     }
     */
     
-    
     //MARK: -
     //MARK: Table Photo Library
     
@@ -1895,8 +1894,8 @@ class NCManageDatabase: NSObject {
         do {
             try realm.write {
                 
-                for tablePhotoLibrary in photosVideos {
-                    realm.add(tablePhotoLibrary, update: true)
+                for table in photosVideos {
+                    realm.add(table, update: true)
                 }
             }
         } catch let error {