Skip to content

Commit e1c1d81

Browse files
committed
Remove shimmering from OwnerUpgradesView
1 parent 33e436e commit e1c1d81

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

WooCommerce/Classes/ViewRelated/Upgrades/OwnerUpgradesView.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ struct OwnerUpgradesView: View {
4242
.cornerRadius(Layout.cornerRadius)
4343
.background(Color(.systemGroupedBackground))
4444
.redacted(reason: isLoading ? .placeholder : [])
45-
.shimmering(active: isLoading)
4645

4746
Picker(selection: $paymentFrequency, label: EmptyView()) {
4847
ForEach(paymentFrequencies) {
@@ -54,7 +53,6 @@ struct OwnerUpgradesView: View {
5453
.padding()
5554
.background(Color(.systemGroupedBackground))
5655
.redacted(reason: isLoading ? .placeholder : [])
57-
.shimmering(active: isLoading)
5856

5957
ScrollView {
6058
VStack {
@@ -63,7 +61,6 @@ struct OwnerUpgradesView: View {
6361
.disabled(isPurchasing)
6462
.listRowSeparator(.hidden)
6563
.redacted(reason: isLoading ? .placeholder : [])
66-
.shimmering(active: isLoading)
6764
.padding(.bottom, 8)
6865
}
6966
Button(Localization.allFeaturesListText) {
@@ -72,7 +69,6 @@ struct OwnerUpgradesView: View {
7269
.buttonStyle(SecondaryButtonStyle())
7370
.disabled(isPurchasing || isLoading)
7471
.redacted(reason: isLoading ? .placeholder : [])
75-
.shimmering(active: isLoading)
7672
.sheet(isPresented: $showingFullFeatureList) {
7773
NavigationView {
7874
FullFeatureListView()
@@ -92,15 +88,13 @@ struct OwnerUpgradesView: View {
9288
.buttonStyle(PrimaryLoadingButtonStyle(isLoading: isPurchasing))
9389
.disabled(isLoading)
9490
.redacted(reason: isLoading ? .placeholder : [])
95-
.shimmering(active: isLoading)
9691
} else {
9792
Button(Localization.selectPlanButtonText) {
9893
// no-op
9994
}
10095
.buttonStyle(PrimaryLoadingButtonStyle(isLoading: isPurchasing))
10196
.disabled(true)
10297
.redacted(reason: isLoading ? .placeholder : [])
103-
.shimmering(active: isLoading)
10498
}
10599
}
106100
.padding()

0 commit comments

Comments
 (0)