marinofaggiana 4 years ago
parent
commit
cf543f3bb1
2 changed files with 1 additions and 6 deletions
  1. 1 4
      File Provider Extension/FileProviderData.swift
  2. 0 2
      iOSClient/AppDelegate.swift

+ 1 - 4
File Provider Extension/FileProviderData.swift

@@ -50,10 +50,7 @@ class fileProviderData: NSObject {
     var fileProviderSignalUpdateContainerItem: [NSFileProviderItemIdentifier: FileProviderItem] = [:]
     var fileProviderSignalDeleteWorkingSetItemIdentifier: [NSFileProviderItemIdentifier: NSFileProviderItemIdentifier] = [:]
     var fileProviderSignalUpdateWorkingSetItem: [NSFileProviderItemIdentifier: FileProviderItem] = [:]
-   
-    // UserDefaults
-    //var ncUserDefaults = UserDefaults(suiteName: NCBrandOptions.shared.capabilitiesGroups)
-    
+       
     // Error
     enum FileProviderError: Error {
         case downloadError

+ 0 - 2
iOSClient/AppDelegate.swift

@@ -68,7 +68,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
     var passcodeViewController: TOPasscodeViewController?
     var pasteboardOcIds: [String] = []
     var shares: [tableShare] = []
-    //var ncUserDefaults: UserDefaults?
     @objc var timerErrorNetworking: Timer?
 
     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
@@ -78,7 +77,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         let versionNextcloudiOS = String(format: NCBrandOptions.shared.textCopyrightNextcloudiOS, NCUtility.shared.getVersionApp())
 
         UserDefaults.standard.register(defaults: ["UserAgent" : userAgent])
-        //ncUserDefaults = UserDefaults(suiteName: NCBrandOptions.shared.capabilitiesGroups)
         if !CCUtility.getDisableCrashservice() && !NCBrandOptions.shared.disable_crash_service {
             FirebaseApp.configure()
         }