summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)
)
}
}