Skip to content

Commit 3499dbe

Browse files
committed
Integrate Product card into main hub view
1 parent 403aa4c commit 3499dbe

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Analytics Hub/AnalyticsHubView.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ struct AnalyticsHubView: View {
5454
Divider()
5555
}
5656

57+
VStack(spacing: Layout.dividerSpacing) {
58+
Divider()
59+
60+
AnalyticsProductCard(itemsSold: "2,342", delta: "+23%", deltaBackgroundColor: .withColorStudio(.green, shade: .shade50))
61+
.background(Color(uiColor: .listForeground))
62+
63+
Divider()
64+
}
65+
5766
Spacer()
5867
}
5968
}

0 commit comments

Comments
 (0)