Skip to content

Commit

Permalink
Merge branch 'feature-indicator-chips-are-clipped-slightly-ios-1009'
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkisemils committed Jan 17, 2025
2 parents 597b3ce + 5d269e8 commit 3a958a7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
)
}
}
Expand Down

0 comments on commit 3a958a7

Please sign in to comment.