diff options
| author | Steffen Ernst <steffen.ernst@mullvad.net> | 2025-01-16 14:27:03 +0100 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2025-01-17 15:42:08 +0100 |
| commit | 5d269e8ab08237fedf1009b15987c4c15df5fbdf (patch) | |
| tree | b9901d0736d6baa6d6b92cdab72a3ff2e1772480 | |
| parent | 597b3ce38803419b75a0d0d3ad042acfa9ac81e6 (diff) | |
| download | mullvadvpn-5d269e8ab08237fedf1009b15987c4c15df5fbdf.tar.xz mullvadvpn-5d269e8ab08237fedf1009b15987c4c15df5fbdf.zip | |
Fix clipped feature indicators
| -rw-r--r-- | ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ChipView/ChipView.swift | 5 |
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) ) } } |
