Skip to content

Commit 9ed70d3

Browse files
committed
Remove unused RasterizedShadowBackground.backgroundColor.
1 parent 56c0346 commit 9ed70d3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

WooCommerce/Classes/POS/Utils/POSShadowStyle.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ struct POSShadowStyleModifier: ViewModifier {
3131
let shadowLayers = shadowLayers(for: style)
3232
RasterizedShadowBackground(
3333
cornerRadius: cornerRadius,
34-
shadowLayers: shadowLayers,
35-
backgroundColor: UIColor.clear
34+
shadowLayers: shadowLayers
3635
)
3736
.frame(width: geometry.size.width, height: geometry.size.height)
3837
}
@@ -134,7 +133,6 @@ private class MultiShadowView: UIView {
134133
private struct RasterizedShadowBackground: UIViewRepresentable {
135134
let cornerRadius: CGFloat
136135
let shadowLayers: [POSShadowLayer]
137-
let backgroundColor: UIColor
138136

139137
func makeUIView(context: Context) -> MultiShadowView {
140138
let view = MultiShadowView()

0 commit comments

Comments
 (0)