diff options
| author | Andrew Bulhak <andrew.bulhak@mullvad.net> | 2024-11-27 17:28:21 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-11-28 09:54:26 +0100 |
| commit | 85b91d0e466f305e7c8be5a48e16618ea1c3b361 (patch) | |
| tree | aca7b1913ec541e6a90ec29d8031991b75cbb022 | |
| parent | 4f3a2e112e63728e4aaffced52bfd9806f0b8cb5 (diff) | |
| download | mullvadvpn-85b91d0e466f305e7c8be5a48e16618ea1c3b361.tar.xz mullvadvpn-85b91d0e466f305e7c8be5a48e16618ea1c3b361.zip | |
Add reenablement of Swiftlint checks
| -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) } } |
