diff --git a/Nextcloud.xcodeproj/project.pbxproj b/Nextcloud.xcodeproj/project.pbxproj index c729b04adb..e0a2d32314 100644 --- a/Nextcloud.xcodeproj/project.pbxproj +++ b/Nextcloud.xcodeproj/project.pbxproj @@ -6002,7 +6002,7 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/marinofaggiana/LucidBanner"; requirement = { - branch = main; + branch = 0.5.0; kind = branch; }; }; @@ -6122,7 +6122,7 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/nextcloud/NextcloudKit"; requirement = { - branch = main; + branch = 7.2.4; kind = branch; }; }; diff --git a/Share/NCShareExtension+DataSource.swift b/Share/NCShareExtension+DataSource.swift index 5b1b3cbb83..f45ca5e0a0 100644 --- a/Share/NCShareExtension+DataSource.swift +++ b/Share/NCShareExtension+DataSource.swift @@ -76,7 +76,7 @@ extension NCShareExtension: UICollectionViewDataSource { } func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { - var cell = (collectionView.dequeueReusableCell(withReuseIdentifier: "listCell", for: indexPath) as? NCListCell)! + let cell = (collectionView.dequeueReusableCell(withReuseIdentifier: "listCell", for: indexPath) as? NCListCell)! guard let metadata = self.dataSource.getMetadata(indexPath: indexPath) else { return cell } diff --git a/Share/NCShareExtension.swift b/Share/NCShareExtension.swift index 47e96e4141..46a27414ea 100644 --- a/Share/NCShareExtension.swift +++ b/Share/NCShareExtension.swift @@ -406,11 +406,9 @@ extension NCShareExtension { } if error == .success { - LucidBanner.shared.update(payload: LucidBannerPayload.Update(stage: .success, horizontalLayout: .centered(width: 100)), - for: self.token) + LucidBanner.shared.update(payload: LucidBannerPayload.Update(stage: .success, horizontalLayout: .centered(width: 100)), for: self.token) } else { - LucidBanner.shared.update(payload: LucidBannerPayload.Update(subtitle: error?.errorDescription,stage: .error), - for: self.token) + LucidBanner.shared.update(payload: LucidBannerPayload.Update(subtitle: error?.errorDescription, stage: .error), for: self.token) } LucidBanner.shared.dismiss(after: 2) { diff --git a/iOSClient/Extensions/UIViewController+Extension.swift b/iOSClient/Extensions/UIViewController+Extension.swift index 82bddcd66d..4f9cc274ba 100644 --- a/iOSClient/Extensions/UIViewController+Extension.swift +++ b/iOSClient/Extensions/UIViewController+Extension.swift @@ -70,4 +70,3 @@ extension UIViewController: @retroactive MFMailComposeViewControllerDelegate { controller.dismiss(animated: true) } } - diff --git a/iOSClient/Menu/NCContextMenuMain.swift b/iOSClient/Menu/NCContextMenuMain.swift index 0f1aaf9cf8..3f41013237 100644 --- a/iOSClient/Menu/NCContextMenuMain.swift +++ b/iOSClient/Menu/NCContextMenuMain.swift @@ -573,4 +573,3 @@ class NCContextMenuMain: NSObject { return clientIntegrationMenu } } - diff --git a/iOSClient/Share/NCShare.swift b/iOSClient/Share/NCShare.swift index 6319a7d3cc..02b4ee6fe4 100644 --- a/iOSClient/Share/NCShare.swift +++ b/iOSClient/Share/NCShare.swift @@ -565,4 +565,3 @@ extension NCShare { return emailPred.evaluate(with: email) } } -