Skip to content

Commit 486a4d2

Browse files
author
akhenda
committed
feat(navigation): rewrite app routing configuration 🔥
1 parent a26ae96 commit 486a4d2

File tree

5 files changed

+350
-299
lines changed

5 files changed

+350
-299
lines changed

src/components/ListingItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const ListingItem = (props) => {
3535
return (
3636
<TouchableOpacity
3737
style={styles.large}
38-
onPress={() => Actions.listing({ id, onLeftButton: Actions.listings })}
38+
onPress={() => Actions.listing({ id, onLeftButton: Actions.pop })}
3939
>
4040
<CacheableImage
4141
resizeMode="cover"
@@ -80,7 +80,7 @@ const ListingItem = (props) => {
8080
return (
8181
<TouchableOpacity
8282
style={styles.compact}
83-
onPress={() => Actions.listing({ id, onLeftButton: Actions.listings })}
83+
onPress={() => Actions.listing({ id, onLeftButton: Actions.pop })}
8484
>
8585
<View style={styles.compactImageContainer}>
8686
<CacheableImage

0 commit comments

Comments
 (0)