diff --git a/Cryptomator/AddVault/CreateNewVault/SharePointDriveListViewController.swift b/Cryptomator/AddVault/CreateNewVault/SharePointDriveListViewController.swift index d1aecb92c..45f2d4e50 100644 --- a/Cryptomator/AddVault/CreateNewVault/SharePointDriveListViewController.swift +++ b/Cryptomator/AddVault/CreateNewVault/SharePointDriveListViewController.swift @@ -31,7 +31,7 @@ class SharePointDriveListViewController: BaseUITableViewController { self?.tableView.reloadData() } - self.title = LocalizedString.getValue("addVault.selectDrive.navigation.title") + title = LocalizedString.getValue("addVault.selectDrive.navigation.title") } // MARK: - UITableViewDataSource @@ -66,4 +66,3 @@ class SharePointDriveListViewController: BaseUITableViewController { tableView.deselectRow(at: indexPath, animated: true) } } - diff --git a/CryptomatorCommon/Sources/CryptomatorCommonCore/Manager/CloudProviderDBManager.swift b/CryptomatorCommon/Sources/CryptomatorCommonCore/Manager/CloudProviderDBManager.swift index 96e8132da..1bcfffb3c 100644 --- a/CryptomatorCommon/Sources/CryptomatorCommonCore/Manager/CloudProviderDBManager.swift +++ b/CryptomatorCommon/Sources/CryptomatorCommonCore/Manager/CloudProviderDBManager.swift @@ -61,6 +61,7 @@ public class CloudProviderDBManager: CloudProviderManager, CloudProviderUpdating /** Creates and returns a cloud provider for the given `accountUID`. */ + // swiftlint:disable:next cyclomatic_complexity func createProvider(for accountUID: String) throws -> CloudProvider { let cloudProviderType = try accountManager.getCloudProviderType(for: accountUID) let provider: CloudProvider @@ -118,6 +119,7 @@ public class CloudProviderDBManager: CloudProviderManager, CloudProviderUpdating The number of returned items from a `fetchItemList(forFolderAt:pageToken:)` call is limited to 500. This is necessary because otherwise memory limit problems can occur with folders with many items in the `FileProviderExtension` where a background `URLSession` is used. */ + // swiftlint:disable:next cyclomatic_complexity func createBackgroundSessionProvider(for accountUID: String, sessionIdentifier: String) throws -> CloudProvider { let cloudProviderType = try accountManager.getCloudProviderType(for: accountUID) let provider: CloudProvider