@@ -65,6 +65,7 @@ struct AddEditCoupon: View {
6565 . fixedSize ( )
6666 Spacer ( ) . frame ( maxWidth: . infinity)
6767 }
68+ . padding ( [ . bottom] , Constants . verticalSpacing)
6869
6970 Button {
7071 //TODO: handle action
@@ -83,17 +84,20 @@ struct AddEditCoupon: View {
8384 Divider ( )
8485 . padding ( . leading, Constants . margin)
8586 }
87+ . padding ( [ . bottom] , Constants . verticalSpacing)
8688
8789 Group {
8890 TitleAndToggleRow ( title: Localization . includeFreeShipping, isOn: . constant( false ) )
8991 . padding ( . horizontal, Constants . margin)
9092 Divider ( )
9193 . padding ( . leading, Constants . margin)
9294 }
95+ . padding ( [ . bottom] , Constants . verticalSpacing)
9396 }
9497
9598 Group {
9699 ListHeaderView ( text: Localization . headerApplyCouponTo. uppercased ( ) , alignment: . left)
100+ . padding ( [ . bottom] , Constants . verticalSpacing)
97101
98102 Button {
99103 //TODO: handle action
@@ -106,6 +110,7 @@ struct AddEditCoupon: View {
106110 }
107111 . buttonStyle ( SecondaryButtonStyle ( ) )
108112 . padding ( . horizontal, Constants . margin)
113+ . padding ( [ . bottom] , Constants . verticalSpacing)
109114
110115 Button {
111116 //TODO: handle action
@@ -120,6 +125,7 @@ struct AddEditCoupon: View {
120125 . buttonStyle ( SecondaryButtonStyle ( ) )
121126 . padding ( . horizontal, Constants . margin)
122127 }
128+ . padding ( [ . bottom] , Constants . verticalSpacing)
123129
124130 Group {
125131 ListHeaderView ( text: Localization . headerUsageDetails. uppercased ( ) , alignment: . left)
@@ -130,6 +136,7 @@ struct AddEditCoupon: View {
130136 Divider ( )
131137 . padding ( . leading, Constants . margin)
132138 }
139+ . padding ( [ . bottom] , Constants . verticalSpacing)
133140
134141 Button {
135142 //TODO: handle action
@@ -138,7 +145,7 @@ struct AddEditCoupon: View {
138145 }
139146 . buttonStyle ( PrimaryButtonStyle ( ) )
140147 . padding ( . horizontal, Constants . margin)
141- . padding ( . top, Constants . verticalSpacing)
148+ . padding ( [ . top, . bottom ] , Constants . verticalSpacing)
142149 }
143150 }
144151 . ignoresSafeArea ( . container, edges: [ . horizontal, . bottom] )
0 commit comments