diff --git a/native/account/restore-backup-screen.react.js b/native/account/restore-backup-screen.react.js index 7dd4aed1c..1fa9dc7b7 100644 --- a/native/account/restore-backup-screen.react.js +++ b/native/account/restore-backup-screen.react.js @@ -1,90 +1,83 @@ // @flow import * as React from 'react'; import { Text, View } from 'react-native'; import * as Progress from 'react-native-progress'; import RegistrationContainer from './registration/registration-container.react.js'; import RegistrationContentContainer from './registration/registration-content-container.react.js'; import type { SignInNavigationProp } from './sign-in-navigator.react.js'; import type { NavigationRoute } from '../navigation/route-names.js'; import { useColors, useStyles } from '../themes/colors.js'; type Props = { +navigation: SignInNavigationProp<'RestoreBackupScreen'>, +route: NavigationRoute<'RestoreBackupScreen'>, }; export type RestoreBackupScreenParams = { +username: string, +credentials: | { +type: 'password', +password: string, } | { +type: 'siwe', +message: string, +signature: string, }, }; // eslint-disable-next-line no-unused-vars function RestoreBackupScreen(props: Props): React.Node { const styles = useStyles(unboundStyles); const colors = useColors(); return ( Restoring from backup Your data is currently being restored. You will be automatically navigated to the app after this process is finished. - Backup date: ); } const unboundStyles = { header: { fontSize: 24, color: 'panelForegroundLabel', paddingBottom: 16, }, section: { fontFamily: 'Arial', fontSize: 15, lineHeight: 20, color: 'panelForegroundSecondaryLabel', paddingBottom: 16, }, - detail: { - fontFamily: 'Arial', - fontSize: 15, - lineHeight: 20, - color: 'panelForegroundTertiaryLabel', - }, progressContainer: { flexGrow: 1, alignItems: 'center', justifyContent: 'center', }, scrollViewContentContainer: { flexGrow: 1, }, }; export default RestoreBackupScreen;