Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit c0bde85

Browse files
committed
Add back buttons in reset password screens
1 parent a971f1c commit c0bde85

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/view/reset-password-confirm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import MainContent from '../component/main-content';
77
import { PasswordCard } from '../component/password-entry';
88
import { Header, Title } from '../component/header';
99
import { H1Text } from '../component/text';
10-
import { Button, GlasButton, CancelButton } from '../component/button';
10+
import { BackButton, GlasButton, CancelButton } from '../component/button';
1111
import { color } from '../component/style';
1212

1313
//
@@ -27,7 +27,7 @@ const styles = StyleSheet.create({
2727
const ResetPasswordConfirmView = ({ store, nav, wallet }) => (
2828
<Background color={color.blackDark}>
2929
<Header separator>
30-
<Button disabled onPress={() => {}} />
30+
<BackButton onPress={() => nav.goResetPasswordNew()} />
3131
<Title title="Change Password" />
3232
<CancelButton onPress={() => nav.goSettings()} />
3333
</Header>

src/view/reset-password-new.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import MainContent from '../component/main-content';
77
import { PasswordCard } from '../component/password-entry';
88
import { Header, Title } from '../component/header';
99
import { H1Text } from '../component/text';
10-
import { Button, GlasButton, CancelButton } from '../component/button';
10+
import { BackButton, GlasButton, CancelButton } from '../component/button';
1111
import { color } from '../component/style';
1212

1313
//
@@ -27,7 +27,7 @@ const styles = StyleSheet.create({
2727
const NewPasswordView = ({ store, nav, wallet }) => (
2828
<Background color={color.blackDark}>
2929
<Header separator>
30-
<Button disabled onPress={() => {}} />
30+
<BackButton onPress={() => nav.goResetPasswordCurrent()} />
3131
<Title title="Change Password" />
3232
<CancelButton onPress={() => nav.goSettings()} />
3333
</Header>

0 commit comments

Comments
 (0)