diff options
| author | Andrew Bulhak <andrew.bulhak@mullvad.net> | 2025-02-06 15:24:49 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2025-02-07 09:52:10 +0100 |
| commit | 3daaaf365334a5d68dfaa955430ae7a4f3624e2d (patch) | |
| tree | 0ec6098181d924e9906c231d8fab6553d9e03a87 | |
| parent | 2d898e7a5a44f0d5f7e6ba06f19342447e980b7b (diff) | |
| download | mullvadvpn-3daaaf365334a5d68dfaa955430ae7a4f3624e2d.tar.xz mullvadvpn-3daaaf365334a5d68dfaa955430ae7a4f3624e2d.zip | |
Remove row separators from SingleChoiceList
| -rw-r--r-- | ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift | 3 |
1 files changed, 3 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 16377f807a..df39f51bee 100644 --- a/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift +++ b/ios/MullvadVPN/View controllers/Settings/SwiftUI components/SingleChoiceList.swift @@ -347,6 +347,7 @@ struct SingleChoiceList<Value>: View where Value: Equatable { switch opt.value { case let .literal(v): literalRow(v) + .listRowSeparator(.hidden) case let .custom( label, prompt, @@ -364,8 +365,10 @@ struct SingleChoiceList<Value>: View where Value: Equatable { toValue: toValue, fromValue: fromValue ) + .listRowSeparator(.hidden) if let legend { subtitleRow(legend) + .listRowSeparator(.hidden) } } } |
