summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Bulhak <andrew.bulhak@mullvad.net>2025-10-02 14:44:04 +0200
committerJon Petersson <jon.petersson@mullvad.net>2025-10-06 08:40:36 +0200
commite424d367ced992bb1b9b6f0926e7f5f1dfa6be64 (patch)
tree085819be22ce9e6c03b98c654d07a8cd4b2ee138
parent08c9e93553904cb3581376b72872acf694e0ca34 (diff)
downloadmullvadvpn-e424d367ced992bb1b9b6f0926e7f5f1dfa6be64.tar.xz
mullvadvpn-e424d367ced992bb1b9b6f0926e7f5f1dfa6be64.zip
Move divider to above scroll view
-rw-r--r--ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift10
1 files changed, 5 insertions, 5 deletions
diff --git a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift
index 1974311eed..ae52d4c359 100644
--- a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift
+++ b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift
@@ -27,6 +27,11 @@ struct ConnectionView: View {
HeaderView(viewModel: connectionViewModel, isExpanded: $isExpanded)
.padding(.bottom, 4)
+ Divider()
+ .background(UIColor.secondaryTextColor.color)
+ .padding(.bottom, 8)
+ .showIf(isExpanded)
+
ScrollView {
VStack(alignment: .leading, spacing: 2) {
if let titleForCountryAndCity = connectionViewModel.titleForCountryAndCity {
@@ -46,11 +51,6 @@ struct ConnectionView: View {
.multilineTextAlignment(.leading)
.fixedSize(horizontal: false, vertical: true)
}
- Divider()
- .background(UIColor.secondaryTextColor.color)
- .padding(.top, 6)
- .padding(.bottom, 14)
- .showIf(isExpanded)
HStack {
VStack(alignment: .leading, spacing: 0) {
Text(LocalizedStringKey("Active features"))