lib/ProMotion/table/extensions/refreshable.rb in ProMotion-2.5.0.beta1 vs lib/ProMotion/table/extensions/refreshable.rb in ProMotion-2.5.0
- old
+ new
@@ -17,10 +17,10 @@
def start_refreshing
return unless @refresh_control
@refresh_control.beginRefreshing
-
+ @refresh_control.attributedTitle = NSAttributedString.alloc.initWithString(@refreshing)
# Scrolls the table down to show the refresh control when invoked programatically
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