Skip to content

Commit

Permalink
fix: Wallet Animation and continue button is misplaced & shown on the…
Browse files Browse the repository at this point in the history
… top.

Signed-off-by: krishna2323 <belivethatkg@gmail.com>
  • Loading branch information
Krishna2323 committed Mar 10, 2025
1 parent d009edf commit daa5062
Showing 1 changed file with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
import React from 'react';
import ConfirmationPage from '@components/ConfirmationPage';
import ScrollView from '@components/ScrollView';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import type {CustomSubStepProps} from '@pages/settings/Wallet/InternationalDepositAccount/types';

function Confirmation({onNext}: CustomSubStepProps) {
const {translate} = useLocalize();
const styles = useThemeStyles();

return (
<ConfirmationPage
heading={translate('addPersonalBankAccountPage.successTitle')}
description={translate('addPersonalBankAccountPage.successMessage')}
shouldShowButton
buttonText={translate('common.continue')}
onButtonPress={onNext}
/>
<ScrollView contentContainerStyle={styles.flexGrow1}>
<ConfirmationPage
heading={translate('addPersonalBankAccountPage.successTitle')}
description={translate('addPersonalBankAccountPage.successMessage')}
shouldShowButton
buttonText={translate('common.continue')}
onButtonPress={onNext}
containerStyle={styles.h100}
/>
</ScrollView>
);
}

Expand Down

0 comments on commit daa5062

Please sign in to comment.