Skip to content

Commit 3c8b718

Browse files
committed
Remove errors when fetching images
1 parent 4ea5462 commit 3c8b718

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Modules/Sources/Yosemite/PointOfSale/OrderList/POSOrderItem.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import Foundation
33
public struct POSOrderItem: Equatable, Hashable {
44
public let itemID: Int64
55
public let name: String
6+
// periphery:ignore - Will be used for images
67
public let productID: Int64
8+
// periphery:ignore - Will be used for images
79
public let variationID: Int64
810
public let quantity: Decimal
911
public let formattedPrice: String

WooCommerce/Classes/POS/Presentation/Orders/PointOfSaleOrderDetailsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private extension PointOfSaleOrderDetailsView {
133133

134134
func imageSource(for item: POSOrderItem) -> String? {
135135
// TODO: Will be addressed in the following PR
136-
return "\(item.productID - item.variationID)"
136+
return nil
137137
}
138138

139139
@ViewBuilder

0 commit comments

Comments
 (0)