Skip to content

Commit e663dad

Browse files
committed
Add redacted support for the TopPerformersView
1 parent 24cc36e commit e663dad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ struct AnalyticsProductCard: View {
6060

6161
TopPerformersView(itemTitle: Localization.title.localizedCapitalized, valueTitle: Localization.itemsSold, rows: itemsSoldData)
6262
.padding(.top, Layout.columnSpacing)
63-
63+
.redacted(reason: isRedacted ? .placeholder : [])
64+
.shimmering(active: isRedacted)
6465
}
6566
.padding(Layout.cardPadding)
6667
}

0 commit comments

Comments
 (0)