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.
List
LazyVStack
1 parent 7c381ea commit 16f4ed5Copy full SHA for 16f4ed5
WooCommerce/Classes/ViewRelated/Inbox/Inbox.swift
@@ -29,14 +29,16 @@ struct Inbox: View {
29
image: .emptyProductsTabImage)
30
.frame(maxHeight: .infinity)
31
case .syncingFirstPage:
32
- List {
33
- ForEach(viewModel.placeholderRowViewModels) { rowViewModel in
34
- InboxNoteRow(viewModel: rowViewModel)
35
- .redacted(reason: .placeholder)
36
- .shimmering()
+ ScrollView {
+ LazyVStack(spacing: 0) {
+ ForEach(viewModel.placeholderRowViewModels) { rowViewModel in
+ InboxNoteRow(viewModel: rowViewModel)
+ .redacted(reason: .placeholder)
37
+ .shimmering()
38
+ }
39
+ .background(Color(.listForeground))
40
}
41
- .listStyle(PlainListStyle())
42
43
44
.background(Color(.listBackground).ignoresSafeArea())
0 commit comments