Skip to content

Commit b4ea532

Browse files
committed
Add redacted & simmering effect
1 parent 590a252 commit b4ea532

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditAddressForm.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ struct EditAddressForm: View {
134134
// TODO: save changes
135135
}
136136
.disabled(!viewModel.isDoneButtonEnabled))
137+
.redacted(reason: viewModel.showPlaceholders ? .placeholder : [])
138+
.shimmering(active: viewModel.showPlaceholders)
137139

138140
// Go to edit country
139141
LazyNavigationLink(destination: FilterListSelector(viewModel: viewModel.createCountryViewModel()), isActive: $showCountrySelector) {

0 commit comments

Comments
 (0)