File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
WooCommerce/Classes/ViewRelated/Orders Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ final class OrderStatusListViewController: UIViewController {
3232 return refreshControl
3333 } ( )
3434
35- /// Footer "Loading More" Spinner.
36- ///
37- private lazy var footerSpinnerView = FooterSpinnerView ( )
38-
3935 /// Order to be provided with a new status
4036 ///
4137 private let order : Order
@@ -81,16 +77,20 @@ final class OrderStatusListViewController: UIViewController {
8177 view. backgroundColor = StyleManager . tableViewBackgroundColor
8278 tableView. backgroundColor = StyleManager . tableViewBackgroundColor
8379 tableView. refreshControl = refreshControl
84- tableView. tableFooterView = footerSpinnerView
8580
8681 tableView. dataSource = self
8782 tableView. delegate = self
8883 }
8984
9085 @IBAction func pullToRefresh( sender: UIRefreshControl ) {
91- // syncingCoordinator.synchronizeFirstPage {
92- // sender.endRefreshing()
93- // }
86+ reload {
87+ sender. endRefreshing ( )
88+ }
89+ }
90+
91+ private func reload( completion: ( ) -> Void ) {
92+ configureResultsController ( )
93+ completion ( )
9494 }
9595}
9696
You can’t perform that action at this time.
0 commit comments