Enable pull to refresh on timeline and change refresh indicator to better show when it is successfully pulled. Issue #1520

This commit is contained in:
Maurice Parker
2020-01-02 21:08:21 -07:00
parent c3fbf88fbb
commit e26a00ddfe
4 changed files with 77 additions and 4 deletions

View File

@@ -50,6 +50,8 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
NotificationCenter.default.addObserver(self, selector: #selector(contentSizeCategoryDidChange), name: UIContentSizeCategory.didChangeNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(displayNameDidChange), name: .DisplayNameDidChange, object: nil)
refreshControl = AccountRefreshControl(errorHandler: ErrorHandler.present(self))
// Setup the Search Controller
searchController.delegate = self
searchController.searchResultsUpdater = self