Marino Faggiana 7 жил өмнө
parent
commit
4115252aa4

+ 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 {