From 85b91d0e466f305e7c8be5a48e16618ea1c3b361 Mon Sep 17 00:00:00 2001 From: Andrew Bulhak Date: Wed, 27 Nov 2024 17:28:21 +0100 Subject: [PATCH] Add reenablement of Swiftlint checks --- .../Settings/SwiftUI components/SingleChoiceList.swift | 4 ++++ 1 file changed, 4 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..182e2c988555 100644 --- a/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift +++ b/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift @@ -293,6 +293,8 @@ struct SingleChoiceList: View where Value: Equatable { } } + // swiftlint:enable function_body_length + private func subtitleRow(_ text: String) -> some View { HStack { Text(text) @@ -341,6 +343,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) } }