Skip to content

Commit 8eb61ce

Browse files
committed
fix(contacts): fix back navigation loop
1 parent da893bf commit 8eb61ce

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

e2e/slashtags.e2e.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ d('Profile and Contacts', () => {
144144
await expect(element(by.text('WEBSITE'))).toExist();
145145
await expect(element(by.text(satoshi.website))).toExist();
146146
await element(by.id('NavigationBack')).tap();
147+
await element(by.id('NavigationBack')).tap();
147148

148149
if (device.getPlatform() === 'ios') {
149150
// FIXME: this bottom sheet should not appear

src/screens/Contacts/Contact.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ const Contact = ({
135135
return (
136136
<View style={styles.root}>
137137
<SafeAreaInset type="top" />
138-
<NavigationHeader
139-
title={t('contact')}
140-
onBackPress={(): void => navigation.navigate('Contacts')}
141-
/>
138+
<NavigationHeader title={t('contact')} />
142139
<View style={styles.content}>
143140
<ProfileCard
144141
url={url}

0 commit comments

Comments
 (0)