Move apply snapshot to the viewWillAppear callback to prevent table artifacts

This commit is contained in:
Maurice Parker 2019-09-11 14:33:39 -05:00
parent fc0181cc2a
commit ab38e755d3
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}