Skip to content

Commit 8729326

Browse files
committed
Update placeholder image to a Text with adjustable font size to match design.
1 parent c90aa59 commit 8729326

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

WooCommerce/Classes/POS/Presentation/Reusable Views/POSItemImageView.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ struct POSItemImageView: View {
1717
Rectangle()
1818
.foregroundColor(Constants.placeholderBackgroundColor)
1919
.overlay {
20-
Image(systemName: "archivebox")
21-
.resizable()
22-
.frame(width: Constants.placeholderIconDimension, height: Constants.placeholderIconDimension)
20+
Text(Image(systemName: "archivebox"))
21+
.font(.posButtonSymbol)
2322
.foregroundColor(Constants.placeholderIconColor)
2423
}
2524
}

0 commit comments

Comments
 (0)