We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dd740 commit fa69499Copy full SHA for fa69499
WooCommerce/Classes/Bookings/BookingBadgeView.swift
@@ -11,7 +11,14 @@ struct BookingBadgeView: View {
11
customizations: .init(textColor: Color(UIColor.label.resolvedColor(with: .init(userInterfaceStyle: .light))),
12
backgroundColor: color,
13
bordered: false,
14
- bold: false))
+ bold: false),
15
+ backgroundShape: .roundedRectangle(cornerRadius: Layout.cornerRadius))
16
+ }
17
+}
18
+
19
+private extension BookingBadgeView {
20
+ enum Layout {
21
+ static let cornerRadius: CGFloat = 4
22
}
23
24
0 commit comments