lib/ProMotion/table/extensions/refreshable.rb in ProMotion-2.2.0 vs lib/ProMotion/table/extensions/refreshable.rb in ProMotion-2.2.1

- old
+ new

@@ -19,10 +19,10 @@ return unless @refresh_control @refresh_control.beginRefreshing # Scrolls the table down to show the refresh control when invoked programatically - table_view.setContentOffset(CGPointMake(0, table_view.contentOffset.y-@refresh_control.frame.size.height), animated:true) if table_view.contentOffset.y > -65.0 + tableView.setContentOffset(CGPointMake(0, tableView.contentOffset.y-@refresh_control.frame.size.height), animated:true) if tableView.contentOffset.y > -65.0 end alias :begin_refreshing :start_refreshing def end_refreshing return unless @refresh_control