@@ -2,12 +2,12 @@ import React from 'react';
22import { StyleSheet } from 'react-native' ;
33import { observer } from 'mobx-react' ;
44import PropTypes from 'prop-types' ;
5- import { SplitBackground } from '../component/background' ;
5+ import Background from '../component/background' ;
66import MainContent from '../component/main-content' ;
7- import { PasswordCard } from '../component/card ' ;
7+ import { PasswordCard } from '../component/password-entry ' ;
88import { Header , Title } from '../component/header' ;
99import { H1Text } from '../component/text' ;
10- import { Button , GlasButton , CancelButton } from '../component/button' ;
10+ import { BackButton , GlasButton , CancelButton } from '../component/button' ;
1111import { color } from '../component/style' ;
1212
1313//
@@ -25,24 +25,24 @@ const styles = StyleSheet.create({
2525} ) ;
2626
2727const ResetPasswordConfirmView = ( { store, nav, wallet } ) => (
28- < SplitBackground image = "purple-gradient-bg" bottom = { color . blackDark } >
29- < Header shadow color = { color . purple } >
30- < Button disabled onPress = { ( ) => { } } />
28+ < Background color = { color . blackDark } >
29+ < Header separator >
30+ < BackButton onPress = { ( ) => nav . goResetPasswordNew ( ) } />
3131 < Title title = "Change Password" />
32- < CancelButton onPress = { ( ) => nav . goHome ( ) } />
32+ < CancelButton onPress = { ( ) => nav . goSettings ( ) } />
3333 </ Header >
3434 < MainContent style = { styles . content } >
35- < H1Text style = { styles . title } > Confirm new password</ H1Text >
35+ < H1Text style = { styles . title } > Confirm password</ H1Text >
3636 < PasswordCard
3737 copy = "Re-type your new password to confirm it."
38- placeholder = "New password"
38+ placeholder = "Confirm password"
3939 password = { store . wallet . passwordVerify }
4040 onChangeText = { password => wallet . setPasswordVerify ( { password } ) }
4141 onSubmitEditing = { ( ) => wallet . checkResetPassword ( ) }
4242 />
4343 < GlasButton onPress = { ( ) => wallet . checkResetPassword ( ) } > Save</ GlasButton >
4444 </ MainContent >
45- </ SplitBackground >
45+ </ Background >
4646) ;
4747
4848ResetPasswordConfirmView . propTypes = {
0 commit comments