Skip to content

Commit

Permalink
Update SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Jan 20, 2025
1 parent f8edd68 commit aa16be4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Sources/SpeziOnboarding/OnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ public struct OnboardingView<TitleView: View, ContentView: View, ActionView: Vie
/// - areas: The areas of the ``OnboardingView`` defined using ``OnboardingInformationView/Content`` instances..
/// - actionText: The localized text that should appear on the ``OnboardingView``'s primary button.
/// - action: The close that is called then the primary button is pressed.
public init( // swiftlint:disable:this function_default_parameter_at_end
public init(
title: LocalizedStringResource,
subtitle: LocalizedStringResource? = nil,
subtitle: LocalizedStringResource? = nil, // swiftlint:disable:this function_default_parameter_at_end
areas: [OnboardingInformationView.Content],
actionText: LocalizedStringResource,
action: @escaping () async throws -> Void
Expand Down
8 changes: 4 additions & 4 deletions Sources/SpeziOnboarding/SequentialOnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public struct SequentialOnboardingView<TitleView: View>: View {
/// - Parameters:
/// - title: The localized title of the area in the ``SequentialOnboardingView``.
/// - description: The localized description of the area in the ``SequentialOnboardingView``.
public init( // swiftlint:disable:this function_default_parameter_at_end
title: LocalizedStringResource? = nil,
public init(
title: LocalizedStringResource? = nil, // swiftlint:disable:this function_default_parameter_at_end
description: LocalizedStringResource
) {
self.title = title.map { Text($0) }
Expand Down Expand Up @@ -150,9 +150,9 @@ public struct SequentialOnboardingView<TitleView: View>: View {
/// - content: The areas of the `SequentialOnboardingView` defined using ``SequentialOnboardingView/Content`` instances..
/// - actionText: The localized text that should appear on the `SequentialOnboardingView`'s primary button.
/// - action: The close that is called then the primary button is pressed.
public init( // swiftlint:disable:this function_default_parameter_at_end
public init(
title: LocalizedStringResource,
subtitle: LocalizedStringResource? = nil,
subtitle: LocalizedStringResource? = nil, // swiftlint:disable:this function_default_parameter_at_end
content: [Content],
actionText: LocalizedStringResource,
action: @escaping () async throws -> Void
Expand Down

0 comments on commit aa16be4

Please # to comment.