File tree 2 files changed +2
-1
lines changed
Example/UI Examples/UI Examples/Source
StripePaymentsUI/StripePaymentsUI/Source/UI Components
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ struct SwiftUICardFormView: View {
16
16
17
17
var body : some View {
18
18
VStack {
19
+ Spacer ( ) . layoutPriority ( 1 )
19
20
STPCardFormView . Representable ( paymentMethodParams: $paymentMethodParams,
20
21
isComplete: $cardFormIsComplete)
21
22
. padding ( )
23
+ Spacer ( ) . layoutPriority ( 1 )
22
24
Button ( action: {
23
25
print ( " Process payment... " )
24
26
} , label: {
Original file line number Diff line number Diff line change @@ -652,7 +652,6 @@ extension STPFormView {
652
652
equalTo: stackView. bottomAnchor,
653
653
constant: SectionView . titleVerticalMargin
654
654
) ,
655
- bottomAnchor. constraint ( equalTo: footerLabel. bottomAnchor) ,
656
655
] )
657
656
658
657
// the initial layout of a SectionView will log constraint errors if it has a row with multiple
You can’t perform that action at this time.
0 commit comments