Skip to content

Commit

Permalink
Merge pull request #46690 from nkdengineer/fix/46180
Browse files Browse the repository at this point in the history
fix: add spacing between 2 buttons
  • Loading branch information
cristipaval authored Aug 5, 2024
2 parents 98e7536 + d851f38 commit d0ecede
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/settings/Subscription/CardSection/CardSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ function CardSection() {
)}
</View>

{isEmptyObject(defaultCard?.accountData) && <CardSectionDataEmpty />}
<View style={styles.mb3}>{isEmptyObject(defaultCard?.accountData) && <CardSectionDataEmpty />}</View>
{billingStatus?.isRetryAvailable !== undefined && (
<Button
text={translate('subscription.cardSection.retryPaymentButton')}
isDisabled={isOffline || !billingStatus?.isRetryAvailable}
isLoading={subscriptionRetryBillingStatusPending}
onPress={handleRetryPayment}
style={[styles.w100, styles.mt5]}
style={[styles.w100, styles.mb3]}
large
/>
)}
Expand All @@ -150,7 +150,6 @@ function CardSection() {
titleStyle={styles.textStrong}
onPress={() => Navigation.navigate(ROUTES.SEARCH_CENTRAL_PANE.getRoute({query: CONST.SEARCH.TAB.EXPENSE.ALL}))}
hoverAndPressStyle={styles.hoveredComponentBG}
style={styles.mt5}
/>
)}

Expand Down

0 comments on commit d0ecede

Please sign in to comment.