Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions app/components/UI/SeedPhraseVideo/index.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -775,17 +775,19 @@ exports[`AccountBackupStep1 should render correctly 1`] = `
"fontSize": 24,
"fontWeight": "600",
"marginBottom": 24,
"marginTop": 24,
"textAlign": "center",
}
}
>
Secure your wallet
</Text>
<View
<Image
source={1}
style={
{
"height": 240,
"width": "100%",
"height": 225,
"width": 200,
}
}
/>
Expand All @@ -805,7 +807,7 @@ exports[`AccountBackupStep1 should render correctly 1`] = `
"fontSize": 14,
"fontWeight": "400",
"lineHeight": 20,
"textAlign": "center",
"textAlign": "left",
}
}
>
Expand Down
13 changes: 10 additions & 3 deletions app/components/Views/AccountBackupStep1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
SafeAreaView,
StyleSheet,
BackHandler,
Image,
} from 'react-native';
import PropTypes from 'prop-types';
import { fontStyles } from '../../../styles/common';
Expand All @@ -22,7 +23,6 @@ import Engine from '../../../core/Engine';
import { ONBOARDING_WIZARD } from '../../../constants/storage';
import { CHOOSE_PASSWORD_STEPS } from '../../../constants/onboarding';
import SkipAccountSecurityModal from '../../UI/SkipAccountSecurityModal';
import SeedPhraseVideo from '../../UI/SeedPhraseVideo';
import { connect } from 'react-redux';
import setOnboardingWizardStep from '../../../actions/wizard';
import { MetaMetricsEvents } from '../../../core/Analytics';
Expand All @@ -33,6 +33,7 @@ import { ManualBackUpStepsSelectorsIDs } from '../../../../e2e/selectors/Onboard
import trackOnboarding from '../../../util/metrics/TrackOnboarding/trackOnboarding';
import Routes from '../../../../app/constants/navigation/Routes';
import { MetricsEventBuilder } from '../../../core/Analytics/MetricsEventBuilder';
import SRPDesign from '../../../images/srp-lock-design.png';

const createStyles = (colors) =>
StyleSheet.create({
Expand All @@ -59,6 +60,7 @@ const createStyles = (colors) =>
title: {
fontSize: 24,
marginBottom: 24,
marginTop: 24,
color: colors.text.default,
textAlign: 'center',
...fontStyles.bold,
Expand All @@ -71,7 +73,7 @@ const createStyles = (colors) =>
lineHeight: scaling.scale(20),
fontSize: scaling.scale(14),
color: colors.text.default,
textAlign: 'center',
textAlign: 'left',
...fontStyles.normal,
},
buttonWrapper: {
Expand Down Expand Up @@ -115,6 +117,10 @@ const createStyles = (colors) =>
ctaContainer: {
marginBottom: 30,
},
srpDesign: {
width: 200,
height: 225,
},
});

/**
Expand Down Expand Up @@ -221,7 +227,8 @@ const AccountBackupStep1 = (props) => {
<Text style={styles.title}>
{strings('account_backup_step_1.title')}
</Text>
<SeedPhraseVideo onClose={skip} />

<Image source={SRPDesign} style={styles.srpDesign} />
<View style={styles.text}>
<Text style={styles.label}>
{strings('account_backup_step_1.info_text_1_1')}{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Text, {
TextVariant,
TextColor,
} from '../../../../../../component-library/components/Texts/Text';
import SeedPhraseVideo from '../../../../../UI/SeedPhraseVideo';
import { MetaMetricsEvents } from '../../../../../../core/Analytics';
import { useTheme } from '../../../../../../util/theme';
import { strings } from '../../../../../../../locales/i18n';
Expand Down Expand Up @@ -58,16 +57,11 @@ const ProtectYourWallet = ({
);
};

const onBack = (): void => navigation.goBack();

return (
<View style={[styles.setting, styles.firstSetting]}>
<Text variant={TextVariant.BodyLGMedium}>
{strings('app_settings.protect_title')}
</Text>
<View style={styles.video}>
<SeedPhraseVideo onClose={onBack} />
</View>

<Text
variant={TextVariant.BodyMD}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,4 @@ export const createStyles = (colors: any) =>
accessory: {
marginTop: 16,
},
video: {
marginTop: 16,
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,6 @@ exports[`SecuritySettings should render correctly 1`] = `
>
Protect your wallet
</Text>
<View
style={
{
"marginTop": 16,
}
}
>
<View
style={
{
"height": 240,
"width": "100%",
}
}
/>
</View>
<Text
accessibilityRole="text"
style={
Expand Down
Binary file added app/images/srp-lock-design.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 0 additions & 18 deletions app/videos/README.md

This file was deleted.

Binary file removed app/videos/recovery-phrase-source.mp4
Binary file not shown.
Binary file removed app/videos/recovery-phrase.mp4
Binary file not shown.
98 changes: 0 additions & 98 deletions app/videos/subtitles/secretPhrase/subtitles-de.vtt

This file was deleted.

Loading
Loading