Skip to content

Commit 07120dd

Browse files
committed
Update design of status and sales channel badges in Most recent orders
1 parent 3ea134c commit 07120dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Orders/LastOrderDashboardRow.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct LastOrderDashboardRow: View {
3434
HStack(spacing: Layout.badgeSpacing) {
3535
Text(viewModel.statusDescription)
3636
.foregroundStyle(.black)
37-
.captionStyle()
37+
.footnoteStyle()
3838
.padding(.horizontal, Layout.Status.hPadding)
3939
.padding(.vertical, Layout.Status.vPadding)
4040
.background(viewModel.statusBackgroundColor)
@@ -43,7 +43,7 @@ struct LastOrderDashboardRow: View {
4343
viewModel.isPOSOrder {
4444
Text(viewModel.salesChannelText)
4545
.foregroundStyle(Color(uiColor: Layout.salesChannelLabelTextColor))
46-
.captionStyle()
46+
.footnoteStyle()
4747
.padding(.horizontal, Layout.Status.hPadding)
4848
.padding(.vertical, Layout.Status.vPadding)
4949
.background(Color(uiColor: Layout.salesChannelLabelBackgroundColor))
@@ -76,8 +76,8 @@ private extension LastOrderDashboardRow {
7676

7777
enum Status {
7878
static let hPadding: CGFloat = 8
79-
static let vPadding: CGFloat = 2
80-
static let cornerRadius: CGFloat = 2
79+
static let vPadding: CGFloat = 4
80+
static let cornerRadius: CGFloat = 4
8181
}
8282
}
8383
}

0 commit comments

Comments
 (0)