Fixes crash when searching in SyncStatusViewController
This commit is contained in:
parent
935ad9b7c2
commit
7464ce1412
@ -21,7 +21,9 @@ class SyncStatusViewController: UITableViewController
|
||||
super.viewDidLoad()
|
||||
|
||||
self.tableView.dataSource = self.dataSource
|
||||
self.navigationItem.searchController = self.dataSource.searchController
|
||||
|
||||
let fetchedDataSource = self.dataSource.dataSources.last
|
||||
self.navigationItem.searchController = fetchedDataSource?.searchController
|
||||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user