Skip to content

Commit

Permalink
Fix the Verify button position
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinyan11 committed Nov 4, 2024
1 parent 121f0ec commit cf9dbea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ function BaseValidateCodeForm({
/>
)}
<OfflineWithFeedback
shouldDisplayErrorAbove
pendingAction={validatePendingAction}
errors={validateError}
errorRowStyles={[styles.mt2]}
Expand Down
3 changes: 2 additions & 1 deletion src/components/ValidateCodeActionModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function ValidateCodeActionModal({
onBackButtonPress={hide}
/>

<View style={[themeStyles.ph5, themeStyles.mt3, themeStyles.mb7]}>
<View style={[themeStyles.ph5, themeStyles.mt3, themeStyles.mb7, themeStyles.flex1]}>
<Text style={[themeStyles.mb3]}>{description}</Text>
<ValidateCodeForm
validateCodeAction={validateCodeAction}
Expand All @@ -78,6 +78,7 @@ function ValidateCodeActionModal({
clearError={clearError}
ref={validateCodeFormRef}
hasMagicCodeBeenSent={hasMagicCodeBeenSent}
buttonStyles={themeStyles.mtAuto}
/>
</View>
{footer?.()}
Expand Down

0 comments on commit cf9dbea

Please sign in to comment.