From 18704c0c04238b00c50624af3aa2c850d5ebafdd Mon Sep 17 00:00:00 2001 From: Andrew Bulhak Date: Wed, 27 Nov 2024 17:28:21 +0100 Subject: [PATCH] Reenable Swiftlint checks --- .../Settings/SwiftUI components/SingleChoiceList.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift b/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift index 1302921d188a..95afc7dbe4b4 100644 --- a/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift +++ b/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift @@ -292,6 +292,7 @@ struct SingleChoiceList: View where Value: Equatable { } } } + // swiftlint:enable function_body_length private func subtitleRow(_ text: String) -> some View { HStack { @@ -340,6 +341,8 @@ struct SingleChoiceList: View where Value: Equatable { } } } +// swiftlint:enable function_parameter_count + #Preview("Static values") { StatefulPreviewWrapper(1) { SingleChoiceList(title: "Test", options: [1, 2, 3], value: $0) }