Skip to content

Commit f7867db

Browse files
authored
Merge pull request Expensify#65689 from FitseTLT/fix-wallet-page-padding-bug
fix - Wallet: No padding between Expensify wallet description and Enable wallet button
2 parents bbd704f + 67da99c commit f7867db

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/pages/settings/Wallet/WalletPage/WalletPage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,14 @@ function WalletPage({shouldListenForResize = false}: WalletPageProps) {
479479
isCentralPane
480480
subtitleMuted
481481
titleStyles={styles.accountSettingsSectionTitle}
482+
childrenStyles={shouldShowLoadingSpinner ? styles.mt7 : styles.mt5}
482483
>
483484
<>
484485
{shouldShowLoadingSpinner && (
485486
<ActivityIndicator
486487
color={theme.spinner}
487488
size={CONST.ACTIVITY_INDICATOR_SIZE.LARGE}
488-
style={[styles.mt7, styles.mb5]}
489+
style={[styles.mb5]}
489490
/>
490491
)}
491492
{!shouldShowLoadingSpinner && hasActivatedWallet && (
@@ -494,7 +495,7 @@ function WalletPage({shouldListenForResize = false}: WalletPageProps) {
494495
errors={walletTerms?.errors}
495496
onClose={clearWalletTermsError}
496497
errorRowStyles={[styles.ml10, styles.mr2]}
497-
style={[styles.mt4, styles.mb2]}
498+
style={[styles.mb2]}
498499
>
499500
<MenuItemWithTopDescription
500501
description={translate('walletPage.balance')}

0 commit comments

Comments
 (0)