mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Move apply snapshot to the viewWillAppear callback to prevent table artifacts
This commit is contained in:
@@ -55,7 +55,6 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
refreshControl!.addTarget(self, action: #selector(refreshAccounts(_:)), for: .valueChanged)
|
||||
|
||||
updateUI()
|
||||
applyChanges(animate: false)
|
||||
becomeFirstResponder()
|
||||
|
||||
}
|
||||
@@ -63,6 +62,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
navigationController?.title = NSLocalizedString("Feeds", comment: "Feeds")
|
||||
clearsSelectionOnViewWillAppear = coordinator.isRootSplitCollapsed
|
||||
applyChanges(animate: false)
|
||||
super.viewWillAppear(animated)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user