Skip to content

Commit

Permalink
fix swiftlint disable rule
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiMadlener committed Nov 18, 2024
1 parent e5da622 commit e2edb79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/ResearchKitSwiftUIBridge/ORKOrderedTaskView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down

0 comments on commit e2edb79

Please sign in to comment.