Skip to content

Commit

Permalink
Fixed linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Feb 17, 2025
1 parent 706ac1f commit ccb8931
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -66,4 +66,3 @@ class SharePointDriveListViewController: BaseUITableViewController {
tableView.deselectRow(at: indexPath, animated: true)
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ccb8931

Please sign in to comment.