diff --git a/Project.swift b/Project.swift index 8d71fd282..9517eea53 100644 --- a/Project.swift +++ b/Project.swift @@ -147,7 +147,8 @@ let project = Project(name: "kDrive", .external(name: "MaterialOutlinedTextField"), .external(name: "SwiftRegex"), .external(name: "Sentry"), - .external(name: "VersionChecker") + .external(name: "VersionChecker"), + .external(name: "LocalizeKit") ]), .target(name: "kDriveFileProvider", destinations: Constants.destinations, diff --git a/Tuist/Package.resolved b/Tuist/Package.resolved index 3caf5c581..c0c995459 100644 --- a/Tuist/Package.resolved +++ b/Tuist/Package.resolved @@ -86,8 +86,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Infomaniak/ios-core", "state" : { - "branch" : "mail", - "revision" : "8178fa508021e1d34deed765f545d4333d695a8e" + "revision" : "6c175294c2ff03c43eb7c9bd32ebd3a8c6448b0d", + "version" : "11.0.0" } }, { @@ -95,8 +95,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Infomaniak/ios-core-ui", "state" : { - "revision" : "b190fc752289c127d17ab707444dc1b83017eaad", - "version" : "8.0.0" + "revision" : "f6aa4a07a6668c86e9665be93cc6199c1dd64895", + "version" : "10.0.0" } }, { @@ -122,8 +122,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Infomaniak/ios-version-checker", "state" : { - "revision" : "4a9f4342fef91a132676ddcdd50c4808fefd4736", - "version" : "5.0.0" + "revision" : "c8fd02352bfc6bede63e41bdb21f2472f7bc1612", + "version" : "6.0.0" } }, { @@ -149,8 +149,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Infomaniak/LocalizeKit", "state" : { - "revision" : "a8f5b63a242a7cb5d8939db011fc9ee871a2a300", - "version" : "1.0.1" + "revision" : "e7dbea6d3a8d57f8352e1457649c45e49699b5eb", + "version" : "1.0.2" } }, { diff --git a/Tuist/Package.swift b/Tuist/Package.swift index 6ba7aca65..97cbe4860 100644 --- a/Tuist/Package.swift +++ b/Tuist/Package.swift @@ -19,12 +19,13 @@ let package = Package( dependencies: [ .package(url: "https://github.com/apple/swift-algorithms", .upToNextMajor(from: "1.2.0")), .package(url: "https://github.com/Alamofire/Alamofire", .upToNextMajor(from: "5.2.2")), - .package(url: "https://github.com/Infomaniak/ios-core", branch: "mail"), - .package(url: "https://github.com/Infomaniak/ios-core-ui", .upToNextMajor(from: "8.0.0")), + .package(url: "https://github.com/Infomaniak/ios-core", .upToNextMajor(from: "11.0.0")), + .package(url: "https://github.com/Infomaniak/ios-core-ui", .upToNextMajor(from: "10.0.0")), .package(url: "https://github.com/Infomaniak/ios-login", .upToNextMajor(from: "6.0.1")), .package(url: "https://github.com/Infomaniak/ios-dependency-injection", .upToNextMajor(from: "2.0.0")), .package(url: "https://github.com/Infomaniak/swift-concurrency", .upToNextMajor(from: "0.0.4")), - .package(url: "https://github.com/Infomaniak/ios-version-checker", .upToNextMajor(from: "5.0.0")), + .package(url: "https://github.com/Infomaniak/ios-version-checker", .upToNextMajor(from: "6.0.0")), + .package(url: "https://github.com/Infomaniak/LocalizeKit", .upToNextMajor(from: "1.0.2")), .package(url: "https://github.com/realm/realm-swift", .upToNextMajor(from: "10.43.0")), .package(url: "https://github.com/SCENEE/FloatingPanel", .upToNextMajor(from: "2.0.0")), .package(url: "https://github.com/onevcat/Kingfisher", .upToNextMajor(from: "7.6.2")), diff --git a/kDrive/UI/Controller/Menu/SecurityTableViewController.swift b/kDrive/UI/Controller/Menu/SecurityTableViewController.swift index e51fbe574..e8efbf38a 100644 --- a/kDrive/UI/Controller/Menu/SecurityTableViewController.swift +++ b/kDrive/UI/Controller/Menu/SecurityTableViewController.swift @@ -39,7 +39,7 @@ class SecurityTableViewController: BaseGroupedTableViewController { tableView.register(cellView: ParameterTableViewCell.self) tableView.register(cellView: ParameterWifiTableViewCell.self) - if lockHelper.isAvailable { + if lockHelper.isAvailable() { tableContent = SecurityOption.allCases } else { tableContent = [.fileProviderExtension]