Skip to content

Commit 8a5d035

Browse files
authored
Merge pull request Expensify#64182 from ryntgh/issue-63978
Fix: Remove extra bottom padding on accounting connection page
2 parents 7518a91 + 89fcf47 commit 8a5d035

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/pages/workspace/accounting/intacct/EnterSageIntacctCredentialsPage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import useAutoFocusInput from '@hooks/useAutoFocusInput';
1111
import useLocalize from '@hooks/useLocalize';
1212
import useThemeStyles from '@hooks/useThemeStyles';
1313
import {connectToSageIntacct} from '@libs/actions/connections/SageIntacct';
14-
import * as ErrorUtils from '@libs/ErrorUtils';
14+
import {addErrorMessage} from '@libs/ErrorUtils';
1515
import Navigation from '@libs/Navigation/Navigation';
1616
import type {PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types';
1717
import type {SettingsNavigatorParamList} from '@libs/Navigation/types';
@@ -45,7 +45,7 @@ function EnterSageIntacctCredentialsPage({route}: SageIntacctPrerequisitesPagePr
4545
if (values[formItem]) {
4646
return;
4747
}
48-
ErrorUtils.addErrorMessage(errors, formItem, translate('common.error.fieldRequired'));
48+
addErrorMessage(errors, formItem, translate('common.error.fieldRequired'));
4949
});
5050
return errors;
5151
},
@@ -55,6 +55,7 @@ function EnterSageIntacctCredentialsPage({route}: SageIntacctPrerequisitesPagePr
5555
<ScreenWrapper
5656
shouldEnableMaxHeight
5757
testID={EnterSageIntacctCredentialsPage.displayName}
58+
enableEdgeToEdgeBottomSafeAreaPadding
5859
>
5960
<HeaderWithBackButton
6061
title={translate('workspace.intacct.sageIntacctSetup')}

src/pages/workspace/accounting/intacct/SageIntacctPrerequisitesPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ function SageIntacctPrerequisitesPage({route}: SageIntacctPrerequisitesPageProps
7979
shouldEnablePickerAvoiding={false}
8080
shouldShowOfflineIndicatorInWideScreen
8181
testID={SageIntacctPrerequisitesPage.displayName}
82+
enableEdgeToEdgeBottomSafeAreaPadding
8283
>
8384
<HeaderWithBackButton
8485
title={translate('workspace.intacct.sageIntacctSetup')}

src/pages/workspace/accounting/netsuite/NetSuiteTokenInput/substeps/NetSuiteTokenInputForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function NetSuiteTokenInputForm({onNext, policyID}: SubStepWithPolicy) {
6363
submitButtonText={translate('common.confirm')}
6464
shouldValidateOnBlur
6565
shouldValidateOnChange
66+
addBottomSafeAreaPadding={false}
6667
>
6768
{formInputs.map((formInput, index) => (
6869
<View

src/pages/workspace/accounting/qbd/RequireQuickBooksDesktopPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function RequireQuickBooksDesktopModal({route}: RequireQuickBooksDesktopModalPro
2727
shouldEnablePickerAvoiding={false}
2828
shouldShowOfflineIndicatorInWideScreen
2929
testID={RequireQuickBooksDesktopModal.displayName}
30+
enableEdgeToEdgeBottomSafeAreaPadding
3031
>
3132
<HeaderWithBackButton
3233
title={translate('workspace.qbd.qbdSetup')}

0 commit comments

Comments
 (0)