From dad0c09f27667147f0ad3abdda2502b7c57a5f6e Mon Sep 17 00:00:00 2001 From: Marino Faggiana Date: Wed, 3 Jul 2024 10:58:00 +0200 Subject: [PATCH] fix Signed-off-by: Marino Faggiana --- iOSClient/Data/NCManageDatabase+Directory.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOSClient/Data/NCManageDatabase+Directory.swift b/iOSClient/Data/NCManageDatabase+Directory.swift index b65e076e4e..2eaf07136b 100644 --- a/iOSClient/Data/NCManageDatabase+Directory.swift +++ b/iOSClient/Data/NCManageDatabase+Directory.swift @@ -235,7 +235,7 @@ extension NCManageDatabase { directory.serverUrl = serverUrl directory.offline = offline addDirectory(directory: directory, metadata: metadata) - realm.add(directory) + realm.add(directory, update: .all) } } } catch let error {