File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
WooCommerce/Classes/POS/Presentation/Orders Expand file tree Collapse file tree 1 file changed +3
-8
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 ( for : item )
119+ productImageView ( )
120120 productDetailsView ( item: item)
121121 Spacer ( )
122122 productTotalView ( item: item)
@@ -125,17 +125,12 @@ private extension PointOfSaleOrderDetailsView {
125125 }
126126
127127 @ViewBuilder
128- func productImageView( for item : POSOrderItem ) -> some View {
129- POSItemImageView ( imageSource: imageSource ( ) , imageSize: 40 , scale: 1 )
128+ func productImageView( ) -> some View {
129+ POSItemImageView ( imageSource: nil , imageSize: 40 , scale: 1 )
130130 . frame ( width: 40 , height: 40 )
131131 . clipShape ( RoundedRectangle ( cornerRadius: POSCornerRadiusStyle . small. value) )
132132 }
133133
134- func imageSource( ) -> String ? {
135- // TODO: Will be addressed in the following PR
136- return nil
137- }
138-
139134 @ViewBuilder
140135 func productDetailsView( item: POSOrderItem ) -> some View {
141136 VStack ( alignment: . leading, spacing: POSSpacing . xSmall) {
You can’t perform that action at this time.
0 commit comments