From aa4301fc6ee8d56377a05b792269aef1b3ea1067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20M=C3=B3rawski?= Date: Thu, 18 Apr 2024 16:42:39 +0200 Subject: [PATCH] fix --- src/components/Form/FormWrapper.tsx | 29 ++++++++++--------- .../request/step/IOURequestStepMerchant.tsx | 1 + 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/components/Form/FormWrapper.tsx b/src/components/Form/FormWrapper.tsx index 902a96b1bcaf..1ba633e5c9fe 100644 --- a/src/components/Form/FormWrapper.tsx +++ b/src/components/Form/FormWrapper.tsx @@ -102,7 +102,7 @@ function FormWrapper({ {children} {isSubmitButtonVisible && ( @@ -123,26 +123,27 @@ function FormWrapper({ ), [ - children, - enabledWhenOffline, - errorMessage, - errors, - footerContent, formID, - formState?.errorFields, - formState?.isLoading, - isSubmitActionDangerous, - isSubmitButtonVisible, - onSubmit, style, - styles.flex1, + styles.pb5, styles.mh0, styles.mt5, - submitButtonStyles, - submitFlexEnabled, + styles.flex1, + children, + isSubmitButtonVisible, submitButtonText, + errors, + formState?.errorFields, + formState?.isLoading, shouldHideFixErrorsAlert, + errorMessage, + onSubmit, + footerContent, onFixTheErrorsLinkPressed, + submitFlexEnabled, + submitButtonStyles, + enabledWhenOffline, + isSubmitActionDangerous, disablePressOnEnter, ], ); diff --git a/src/pages/iou/request/step/IOURequestStepMerchant.tsx b/src/pages/iou/request/step/IOURequestStepMerchant.tsx index d731f56614a5..b50495ac47bd 100644 --- a/src/pages/iou/request/step/IOURequestStepMerchant.tsx +++ b/src/pages/iou/request/step/IOURequestStepMerchant.tsx @@ -111,6 +111,7 @@ function IOURequestStepMerchant({ onBackButtonPress={navigateBack} shouldShowWrapper testID={IOURequestStepMerchant.displayName} + includeSafeAreaPaddingBottom >