@@ -310,41 +310,43 @@ function MoneyRequestAmountForm(
310
310
longPressHandlerStateChanged = { updateLongPressHandlerState }
311
311
/>
312
312
) : null }
313
- { iouType === CONST . IOU . TYPE . PAY && skipConfirmation ? (
314
- < SettlementButton
315
- pressOnEnter
316
- onPress = { submitAndNavigateToNextPage }
317
- enablePaymentsRoute = { ROUTES . IOU_SEND_ENABLE_PAYMENTS }
318
- addBankAccountRoute = { bankAccountRoute }
319
- addDebitCardRoute = { ROUTES . IOU_SEND_ADD_DEBIT_CARD }
320
- currency = { currency ?? CONST . CURRENCY . USD }
321
- policyID = { policyID ?? '' }
322
- style = { [ styles . w100 , canUseTouchScreen ? styles . mt5 : styles . mt3 ] }
323
- buttonSize = { CONST . DROPDOWN_BUTTON_SIZE . LARGE }
324
- kycWallAnchorAlignment = { {
325
- horizontal : CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . LEFT ,
326
- vertical : CONST . MODAL . ANCHOR_ORIGIN_VERTICAL . BOTTOM ,
327
- } }
328
- paymentMethodDropdownAnchorAlignment = { {
329
- horizontal : CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . RIGHT ,
330
- vertical : CONST . MODAL . ANCHOR_ORIGIN_VERTICAL . BOTTOM ,
331
- } }
332
- shouldShowPersonalBankAccountOption
333
- enterKeyEventListenerPriority = { 1 }
334
- />
335
- ) : (
336
- < Button
337
- success
338
- // Prevent bubbling on edit amount Page to prevent double page submission when two CTA are stacked.
339
- allowBubble = { ! isEditing }
340
- pressOnEnter
341
- medium = { isExtraSmallScreenHeight }
342
- large = { ! isExtraSmallScreenHeight }
343
- style = { [ styles . w100 , canUseTouchScreen ? styles . mt5 : styles . mt3 ] }
344
- onPress = { ( ) => submitAndNavigateToNextPage ( ) }
345
- text = { buttonText }
346
- />
347
- ) }
313
+ < View style = { styles . w100 } >
314
+ { iouType === CONST . IOU . TYPE . PAY && skipConfirmation ? (
315
+ < SettlementButton
316
+ pressOnEnter
317
+ onPress = { submitAndNavigateToNextPage }
318
+ enablePaymentsRoute = { ROUTES . IOU_SEND_ENABLE_PAYMENTS }
319
+ addBankAccountRoute = { bankAccountRoute }
320
+ addDebitCardRoute = { ROUTES . IOU_SEND_ADD_DEBIT_CARD }
321
+ currency = { currency ?? CONST . CURRENCY . USD }
322
+ policyID = { policyID ?? '' }
323
+ style = { [ styles . w100 , canUseTouchScreen ? styles . mt5 : styles . mt3 ] }
324
+ buttonSize = { CONST . DROPDOWN_BUTTON_SIZE . LARGE }
325
+ kycWallAnchorAlignment = { {
326
+ horizontal : CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . LEFT ,
327
+ vertical : CONST . MODAL . ANCHOR_ORIGIN_VERTICAL . BOTTOM ,
328
+ } }
329
+ paymentMethodDropdownAnchorAlignment = { {
330
+ horizontal : CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . RIGHT ,
331
+ vertical : CONST . MODAL . ANCHOR_ORIGIN_VERTICAL . BOTTOM ,
332
+ } }
333
+ shouldShowPersonalBankAccountOption
334
+ enterKeyEventListenerPriority = { 1 }
335
+ />
336
+ ) : (
337
+ < Button
338
+ success
339
+ // Prevent bubbling on edit amount Page to prevent double page submission when two CTA are stacked.
340
+ allowBubble = { ! isEditing }
341
+ pressOnEnter
342
+ medium = { isExtraSmallScreenHeight }
343
+ large = { ! isExtraSmallScreenHeight }
344
+ style = { [ styles . w100 , canUseTouchScreen ? styles . mt5 : styles . mt3 ] }
345
+ onPress = { ( ) => submitAndNavigateToNextPage ( ) }
346
+ text = { buttonText }
347
+ />
348
+ ) }
349
+ </ View >
348
350
</ View >
349
351
</ ScrollView >
350
352
) ;
0 commit comments