feat: restore account ids added

pull/3056/head
William Grant 2 years ago
parent 8a807a5bf9
commit 09133c3837

@ -90,6 +90,7 @@ const ShowHideButton = (props: { forceShow: boolean; toggleForceShow: Noop; erro
transform: 'translateY(-50%)', transform: 'translateY(-50%)',
...position, ...position,
}} }}
dataTestId="reveal-recovery-phrase-toggle"
/> />
); );
} }
@ -101,6 +102,7 @@ const ShowHideButton = (props: { forceShow: boolean; toggleForceShow: Noop; erro
iconSize="medium" iconSize="medium"
onClick={props.toggleForceShow} onClick={props.toggleForceShow}
style={{ position: 'absolute', top: '50%', transform: 'translateY(-50%)', ...position }} 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} {showPercentage ? <StyledText>{Math.floor(progress)}%</StyledText> : null}
</Flex> </Flex>
{subtitle || showPercentage ? <SpacerXL /> : null} {subtitle || showPercentage ? <SpacerXL /> : null}
<ProgressContainer color={backgroundColor} style={{ width }}> <ProgressContainer color={backgroundColor} style={{ width }} data-testid="loading-animation">
<Progress <Progress
color={color} color={color}
initial={{ width: 0 }} initial={{ width: 0 }}

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

Loading…
Cancel
Save