Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit 8314ed6

Browse files
committed
Merge pull request #745 from infinitered/bugfix/start-refreshing
show refreshing text when start_refreshing is called programmatically
2 parents fd4af87 + a2e3ccb commit 8314ed6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ProMotion/table/extensions/refreshable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def start_refreshing
1919
return unless @refresh_control
2020

2121
@refresh_control.beginRefreshing
22-
22+
@refresh_control.attributedTitle = NSAttributedString.alloc.initWithString(@refreshing)
2323
# Scrolls the table down to show the refresh control when invoked programatically
2424
tableView.setContentOffset(CGPointMake(0, tableView.contentOffset.y-@refresh_control.frame.size.height), animated:true) if tableView.contentOffset.y > -65.0
2525
end

0 commit comments

Comments
 (0)