feat: restore account ids added

pull/3056/head
William Grant 1 year ago
parent 8a807a5bf9
commit 09133c3837

@ -90,6 +90,7 @@ const ShowHideButton = (props: { forceShow: boolean; toggleForceShow: Noop; erro
transform: 'translateY(-50%)',
...position,
}}
dataTestId="reveal-recovery-phrase-toggle"
/>
);
}
@ -101,6 +102,7 @@ const ShowHideButton = (props: { forceShow: boolean; toggleForceShow: Noop; erro
iconSize="medium"
onClick={props.toggleForceShow}
style={{ position: 'absolute', top: '50%', transform: 'translateY(-50%)', ...position }}
dataTestId="reveal-recovery-phrase-toggle"
/>
);
};

@ -68,7 +68,7 @@ export function SessionProgressBar(props: Props) {
{showPercentage ? <StyledText>{Math.floor(progress)}%</StyledText> : null}
</Flex>
{subtitle || showPercentage ? <SpacerXL /> : null}
<ProgressContainer color={backgroundColor} style={{ width }}>
<ProgressContainer color={backgroundColor} style={{ width }} data-testid="loading-animation">
<Progress
color={color}
initial={{ width: 0 }}

@ -247,7 +247,7 @@ export const RestoreAccount = () => {
onClick={recoverAndFetchDisplayName}
text={window.i18n('continue')}
disabled={!(!!recoveryPassword && !recoveryPasswordError)}
dataTestId="continue-session-button"
dataTestId="continue-button"
/>
</>
) : (
@ -279,7 +279,7 @@ export const RestoreAccount = () => {
!(!!recoveryPassword && !recoveryPasswordError) ||
!(!!displayName && !displayNameError)
}
dataTestId="continue-session-button"
dataTestId="continue-button"
/>
</Flex>
)}

Loading…
Cancel
Save