Browse Source

Disable file protection for database dir (improvements)

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 3 years ago
parent
commit
85713c3070
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Data/NCManageDatabase.swift

+ 1 - 1
iOSClient/Data/NCManageDatabase.swift

@@ -42,7 +42,7 @@ class NCManageDatabase: NSObject {
         let bundlePathExtension: String = bundleUrl.pathExtension
         let isAppex: Bool = bundlePathExtension == "appex"
         
-        // Disable file protection for this directory
+        // Disable file protection for directory DB
         // https://docs.mongodb.com/realm/sdk/ios/examples/configure-and-open-a-realm/#std-label-ios-open-a-local-realm
         if let folderPathURL = dirGroup?.appendingPathComponent(NCGlobal.shared.appDatabaseNextcloud) {
             let folderPath = folderPathURL.path