mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-12 18:51:21 +01:00
Update PromptPasswordConfirmationModal.tsx
This commit is contained in:
parent
f46406fe26
commit
5a61ecd6f2
1 changed files with 10 additions and 4 deletions
|
@ -220,15 +220,21 @@ const PromptPasswordConfirmationModal = forwardRef<PromptPasswordConfirmationMod
|
|||
opacity: fadeOutAnimation,
|
||||
transform: [{ scale: scaleAnimation }],
|
||||
width: '100%',
|
||||
paddingTop: 20,
|
||||
};
|
||||
|
||||
const onModalDismiss = () => {
|
||||
resetState();
|
||||
onConfirmationFailure();
|
||||
}
|
||||
|
||||
return (
|
||||
<BottomModal
|
||||
ref={modalRef}
|
||||
showCloseButton={false}
|
||||
onDismiss={resetState}
|
||||
showCloseButton={showExplanation}
|
||||
onDismiss={onModalDismiss}
|
||||
grabber={false}
|
||||
sizes={[370]}
|
||||
sizes={[400]}
|
||||
backgroundColor={colors.modal}
|
||||
contentContainerStyle={styles.modalContent}
|
||||
footer={
|
||||
|
@ -367,7 +373,7 @@ const styles = StyleSheet.create({
|
|||
width: '100%', // Ensure modal content takes full width
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
minHeight: 370,
|
||||
minHeight: 400,
|
||||
},
|
||||
feeModalFooter: {
|
||||
paddingBottom: 36,
|
||||
|
|
Loading…
Add table
Reference in a new issue