marinofaggiana 4 years ago
parent
commit
70a1bacf0b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      iOSClient/Database/NCManageDatabase.swift

+ 1 - 3
iOSClient/Database/NCManageDatabase.swift

@@ -1095,9 +1095,7 @@ class NCManageDatabase: NSObject {
                 if let permissions = permissions {
                 if let permissions = permissions {
                     addObject.permissions = permissions
                     addObject.permissions = permissions
                 }
                 }
-                if let richWorkspace = richWorkspace {
-                    addObject.richWorkspace = richWorkspace
-                }
+                addObject.richWorkspace = richWorkspace
                 addObject.serverUrl = serverUrl
                 addObject.serverUrl = serverUrl
            
            
                 realm.add(addObject, update: .all)
                 realm.add(addObject, update: .all)