Skip to content

Commit fa69499

Browse files
committed
Use radius from latest design
1 parent f4dd740 commit fa69499

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

WooCommerce/Classes/Bookings/BookingBadgeView.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ struct BookingBadgeView: View {
1111
customizations: .init(textColor: Color(UIColor.label.resolvedColor(with: .init(userInterfaceStyle: .light))),
1212
backgroundColor: color,
1313
bordered: false,
14-
bold: false))
14+
bold: false),
15+
backgroundShape: .roundedRectangle(cornerRadius: Layout.cornerRadius))
16+
}
17+
}
18+
19+
private extension BookingBadgeView {
20+
enum Layout {
21+
static let cornerRadius: CGFloat = 4
1522
}
1623
}
1724

0 commit comments

Comments
 (0)