From e2edb7910ba37348d3e263079f6d5bce8dc19433 Mon Sep 17 00:00:00 2001 From: NikolaiMadlener Date: Mon, 18 Nov 2024 17:33:08 +0100 Subject: [PATCH] fix swiftlint disable rule --- Sources/ResearchKitSwiftUIBridge/ORKOrderedTaskView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/ResearchKitSwiftUIBridge/ORKOrderedTaskView.swift b/Sources/ResearchKitSwiftUIBridge/ORKOrderedTaskView.swift index 8837edd98..34b8ed636 100644 --- a/Sources/ResearchKitSwiftUIBridge/ORKOrderedTaskView.swift +++ b/Sources/ResearchKitSwiftUIBridge/ORKOrderedTaskView.swift @@ -190,10 +190,9 @@ public struct ORKOrderedTaskView: UIViewControllerRepresentable { /// - shouldConfirmCancel: Specifies the behavior of the "Cancel" button if it should ask for confirmation. The button is always presented. /// - result: A closure receiving the ``TaskResult`` for the task view. @available(*, deprecated, message: "Use init(tasks:tintColor:cancelBehavior:result:) instead") - // swiftlint:disable:next function_default_parameter_at_end public init( tasks: ORKOrderedTask, - tintColor: Color = Color(UIColor(named: "AccentColor") ?? .systemBlue), + tintColor: Color = Color(UIColor(named: "AccentColor") ?? .systemBlue), // swiftlint:disable:this function_default_parameter_at_end shouldConfirmCancel: Bool, result: @escaping @MainActor (TaskResult) async -> Void ) {