diff options
| -rw-r--r-- | ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift b/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift index 1302921d18..182e2c9885 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<Value>: 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<Value>: View where Value: Equatable { } } +// swiftlint:enable function_parameter_count + #Preview("Static values") { StatefulPreviewWrapper(1) { SingleChoiceList(title: "Test", options: [1, 2, 3], value: $0) } } |
