Fix losing selection on reload.

This commit is contained in:
Maurice Parker 2019-04-22 18:03:13 -05:00
parent b619b5f905
commit 526cbb566e

View File

@ -263,7 +263,9 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
} }
@objc func articlesDidChange(_ note: Notification) { @objc func articlesDidChange(_ note: Notification) {
tableView.reloadData() performBlockAndRestoreSelection {
tableView.reloadData()
}
} }
@objc func articleSelectionDidChange(_ note: Notification) { @objc func articleSelectionDidChange(_ note: Notification) {