mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add pull to refresh to the timeline.
This commit is contained in:
@@ -76,10 +76,6 @@ class MasterViewController: UITableViewController, UndoableCommandRunner {
|
||||
|
||||
// MARK: Notifications
|
||||
|
||||
@objc private func refreshAccounts(_ sender: Any) {
|
||||
AccountManager.shared.refreshAll()
|
||||
}
|
||||
|
||||
@objc dynamic func progressDidChange(_ notification: Notification) {
|
||||
if AccountManager.shared.combinedRefreshProgress.isComplete {
|
||||
refreshControl?.endRefreshing()
|
||||
@@ -537,6 +533,10 @@ extension MasterViewController: MasterTableViewCellDelegate {
|
||||
|
||||
private extension MasterViewController {
|
||||
|
||||
@objc private func refreshAccounts(_ sender: Any) {
|
||||
AccountManager.shared.refreshAll()
|
||||
}
|
||||
|
||||
func rebuildBackingStoresAndReloadDataIfNeeded() {
|
||||
if !animatingChanges && !BatchUpdate.shared.isPerforming {
|
||||
treeController.rebuild()
|
||||
|
||||
Reference in New Issue
Block a user