From 6f005a5d7d831ac413a323159c62f1ff4215300d Mon Sep 17 00:00:00 2001 From: keplyx Date: Tue, 25 Feb 2020 22:06:02 +0100 Subject: [PATCH] Fixed proximo list details --- screens/Proximo/ProximoListScreen.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/screens/Proximo/ProximoListScreen.js b/screens/Proximo/ProximoListScreen.js index 3df22a6..2943fee 100644 --- a/screens/Proximo/ProximoListScreen.js +++ b/screens/Proximo/ProximoListScreen.js @@ -78,7 +78,6 @@ export default class ProximoListScreen extends React.Component { onSelectSortModePrice: Function; onSortMenuPress: Function; renderItem: Function; - onListItemPress: Function; constructor(props: any) { super(props); @@ -91,7 +90,6 @@ export default class ProximoListScreen extends React.Component { this.onSelectSortModePrice = this.onSelectSortModePrice.bind(this); this.onSortMenuPress = this.onSortMenuPress.bind(this); this.renderItem = this.renderItem.bind(this); - this.onListItemPress = this.onListItemPress.bind(this); } /** @@ -318,9 +316,10 @@ export default class ProximoListScreen extends React.Component { } renderItem({item}: Object) { + const onListItemPress = this.onListItemPress.bind(this, item); return (