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 (