Skip to content

Commit 8c9d1e7

Browse files
committed
Show placeholder state when loading catalog info.
1 parent 0c6c9b8 commit 8c9d1e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/POS/Presentation/Settings/POSSettingsLocalCatalogDetailView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ private extension POSSettingsLocalCatalogDetailView {
4444
fieldRowView(label: Localization.lastFullSync, value: viewModel.lastFullSyncDate)
4545
}
4646
.padding(.bottom, POSPadding.medium)
47+
.redacted(reason: viewModel.isLoading ? .placeholder : [])
48+
.shimmering(active: viewModel.isLoading)
4749
}
4850
}
4951

0 commit comments

Comments
 (0)