We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63d769e commit 740da7fCopy full SHA for 740da7f
WooCommerce/Classes/POS/Presentation/CartView.swift
@@ -30,15 +30,13 @@ struct CartView: View {
30
.foregroundColor(Color.posOnSurfaceVariantLowest)
31
}
32
33
- HStack {
34
- Button {
35
- posModel.removeAllItemsFromCart()
36
- } label: {
37
- Text(Localization.clearButtonTitle)
38
- }
39
- .buttonStyle(POSOutlinedButtonStyle(size: .extraSmall))
40
- .renderedIf(shouldShowClearCartButton)
+ Button {
+ posModel.removeAllItemsFromCart()
+ } label: {
+ Text(Localization.clearButtonTitle)
41
+ .buttonStyle(POSOutlinedButtonStyle(size: .extraSmall))
+ .renderedIf(shouldShowClearCartButton)
42
})
43
.if(shouldApplyHeaderBottomShadow, transform: { $0.applyBottomShadow(backgroundColor: backgroundColor) })
44
0 commit comments