Skip to content

Commit

Permalink
Remove unused callback
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonpage committed Nov 16, 2016
1 parent dcee9d9 commit 353a976
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/views/list/scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class ListScene extends Component {
constructor(props) {
super(props);
this.onItemPress = this.onItemPress.bind(this);
this.onItemSwiped = this.onItemSwiped.bind(this);
}

componentDidMount() {
Expand All @@ -50,7 +49,7 @@ class ListScene extends Component {
}

render() {
debug('render', this.props.scanning);
debug('render');

return (
<View style={styles.root}>
Expand All @@ -63,8 +62,7 @@ class ListScene extends Component {
showDistance={this.props.showDistance}
scanning={this.props.indicateScanning}
onRefresh={this.props.onRefresh}
onItemPress={this.onItemPress}
onItemSwiped={this.onItemSwiped}/>
onItemPress={this.onItemPress}/>
</View>
);
}
Expand Down Expand Up @@ -118,10 +116,6 @@ class ListScene extends Component {
this.props.navigator.push({ type: 'item' });
}

onItemSwiped(item) {
// this.props.updateItem(item.id, { hidden: true });
}

onSubscriptionsPress() {
debug('on subscriptions press');
this.props.navigator.push({ type: 'subscriptions' });
Expand Down

0 comments on commit 353a976

Please sign in to comment.