File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ struct AddEditCoupon: View {
6969 } label: {
7070 HStack {
7171 Image ( uiImage: . plusImage)
72+ . frame ( width: Constants . iconSize, height: Constants . iconSize)
7273 Text ( Localization . addDescriptionButton)
7374 . bodyStyle ( )
7475 }
@@ -104,6 +105,7 @@ struct AddEditCoupon: View {
104105 } label: {
105106 HStack {
106107 Image ( uiImage: . pencilImage) . colorMultiply ( Color ( . text) )
108+ . frame ( width: Constants . iconSize, height: Constants . iconSize)
107109 Text ( Localization . editProductsButton)
108110 . bodyStyle ( )
109111 }
@@ -118,6 +120,7 @@ struct AddEditCoupon: View {
118120 HStack {
119121 Image ( uiImage: . pencilImage)
120122 . colorMultiply ( Color ( . text) )
123+ . frame ( width: Constants . iconSize, height: Constants . iconSize)
121124 Text ( Localization . editProductCategoriesButton)
122125 . bodyStyle ( )
123126 }
@@ -171,6 +174,7 @@ private extension AddEditCoupon {
171174 enum Constants {
172175 static let margin : CGFloat = 16
173176 static let verticalSpacing : CGFloat = 8
177+ static let iconSize : CGFloat = 16
174178 }
175179
176180 enum Localization {
You can’t perform that action at this time.
0 commit comments