Skip to content

Commit d6c4eed

Browse files
committed
Use param
1 parent 9449b35 commit d6c4eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Routing/ProductDetail/Coordinator/ProductDetailNativeCoordinator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ProductDetailNativeCoordinator {
1212
onDelete: (() -> Void)? = nil) -> UIViewController {
1313
return ProductDetailsFactory.productDetails(product: product,
1414
presentationStyle: presentationStyle.asProductFormPresentationStyle,
15-
forceReadOnly: false,
15+
forceReadOnly: isReadOnly,
1616
onDeleteCompletion: onDelete ?? {})
1717
}
1818
}

0 commit comments

Comments
 (0)