File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
WooCommerce/Classes/POS/Presentation/Orders Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ private extension PointOfSaleOrderDetailsView {
116116 @ViewBuilder
117117 func productRow( item: POSOrderItem ) -> some View {
118118 HStack ( alignment: . top, spacing: POSSpacing . medium) {
119- productImageView ( )
119+ productImageView ( item : item )
120120 productDetailsView ( item: item)
121121 Spacer ( )
122122 productTotalView ( item: item)
@@ -125,8 +125,9 @@ private extension PointOfSaleOrderDetailsView {
125125 }
126126
127127 @ViewBuilder
128- func productImageView( ) -> some View {
129- POSItemImageView ( imageSource: nil , imageSize: 40 , scale: 1 )
128+
129+ func productImageView( item: POSOrderItem ) -> some View {
130+ POSItemImageView ( imageSource: item. imageSrc, imageSize: 40 , scale: 1 )
130131 . frame ( width: 40 , height: 40 )
131132 . clipShape ( RoundedRectangle ( cornerRadius: POSCornerRadiusStyle . small. value) )
132133 }
You can’t perform that action at this time.
0 commit comments