summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2025-01-17 15:43:05 +0100
committerEmīls <emils@mullvad.net>2025-01-17 15:43:05 +0100
commit3a958a7549e8d4bd9af8e8fef5cf5b8ddf656299 (patch)
treeb9901d0736d6baa6d6b92cdab72a3ff2e1772480
parent597b3ce38803419b75a0d0d3ad042acfa9ac81e6 (diff)
parent5d269e8ab08237fedf1009b15987c4c15df5fbdf (diff)
downloadmullvadvpn-3a958a7549e8d4bd9af8e8fef5cf5b8ddf656299.tar.xz
mullvadvpn-3a958a7549e8d4bd9af8e8fef5cf5b8ddf656299.zip
Merge branch 'feature-indicator-chips-are-clipped-slightly-ios-1009'
-rw-r--r--ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipView.swift5
1 files changed, 4 insertions, 1 deletions
diff --git a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipView.swift b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipView.swift
index 57fc7cb042..2968a34a6c 100644
--- a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipView.swift
+++ b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipView.swift
@@ -10,6 +10,8 @@ import SwiftUI
struct ChipView: View {
let item: ChipModel
+ private let borderWidth: CGFloat = 1
+
var body: some View {
Text(item.name)
.font(.subheadline)
@@ -21,12 +23,13 @@ struct ChipView: View {
RoundedRectangle(cornerRadius: 8)
.stroke(
UIColor.primaryColor.color,
- lineWidth: 1
+ lineWidth: borderWidth
)
.background(
RoundedRectangle(cornerRadius: 8)
.fill(UIColor.secondaryColor.color)
)
+ .padding(borderWidth)
)
}
}