Skip to content

Commit

Permalink
📝 Review
Browse files Browse the repository at this point in the history
  • Loading branch information
mcayuelas-ledger committed Oct 6, 2022
1 parent fdc072d commit 37ac299
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Card = ({ index /* , deviceModelId */ }: CardType) => {
const { t } = useTranslation();
return (
<Flex flex={1} justifyContent="center" alignItems="center" px={20}>
<Flex mb={`${space[8]}px`}>
<Flex mb={8}>
<Illustration
size={normalize(240)}
darkSource={images.light[index]}
Expand Down Expand Up @@ -113,7 +113,9 @@ function OnboardingStepNewDevice() {
<Button
Icon={() => <Icons.ArrowLeftMedium color="neutral.c00" size={24} />}
onPress={handleBack}
style={styles.backArrow}
position="absolute"
top={-5}
left={0}
/>
<Text variant="h3" mb={3} textAlign="center" color="constant.black">
{t(`onboarding.stepNewDevice.${currentIndex}.label`)}
Expand Down Expand Up @@ -142,11 +144,6 @@ const styles = StyleSheet.create({
animatable: {
width: "100%",
},
backArrow: {
position: "absolute",
top: -5,
left: 0,
},
});

export default OnboardingStepNewDevice;

0 comments on commit 37ac299

Please sign in to comment.