Skip to content

Commit

Permalink
fix: add spacing between 2 buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Aug 2, 2024
1 parent 5005f59 commit d851f38
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 d851f38

Please sign in to comment.