Skip to content

Commit 3f658fa

Browse files
committed
Product list wasn't remove arranged subviews in uistackview correctly
1 parent 126eb67 commit 3f658fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/ViewRelated/Orders/OrderDetails/ProductListTableViewCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ProductListTableViewCell: UITableViewCell {
1515
extension ProductListTableViewCell {
1616
func configure(with viewModel: OrderDetailsViewModel) {
1717
for subView in verticalStackView.arrangedSubviews {
18-
verticalStackView.removeArrangedSubview(subView)
18+
subView.removeFromSuperview()
1919
}
2020

2121
for (index, item) in viewModel.items.enumerated() {

0 commit comments

Comments
 (0)