summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrew Bulhak <andrew.bulhak@mullvad.net>2024-11-27 17:28:21 +0100
committerBug Magnet <marco.nikic@mullvad.net>2024-11-28 09:54:26 +0100
commit85b91d0e466f305e7c8be5a48e16618ea1c3b361 (patch)
treeaca7b1913ec541e6a90ec29d8031991b75cbb022 /ios
parent4f3a2e112e63728e4aaffced52bfd9806f0b8cb5 (diff)
downloadmullvadvpn-85b91d0e466f305e7c8be5a48e16618ea1c3b361.tar.xz
mullvadvpn-85b91d0e466f305e7c8be5a48e16618ea1c3b361.zip
Add reenablement of Swiftlint checks
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift4
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) }
}