Add missing awaits due to changed overload resolution

This commit is contained in:
Shadowfacts 2022-06-07 14:50:30 -04:00
parent 02e3417c27
commit b4675a97c7
3 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ class ConversationTableViewController: EnhancedTableViewController {
var snapshot = NSDiffableDataSourceSnapshot<Section, Item>()
snapshot.appendSections([.statuses])
snapshot.appendItems([mainStatusItem], toSection: .statuses)
dataSource.apply(snapshot, animatingDifferences: false)
await dataSource.apply(snapshot, animatingDifferences: false)
loadingState = .loadedMain

View File

@ -56,7 +56,7 @@ class TrendingHashtagsViewController: EnhancedTableViewController {
var snapshot = NSDiffableDataSourceSnapshot<Section, Item>()
snapshot.appendSections([.trendingTags])
snapshot.appendItems(hashtags.map { .tag($0) })
dataSource.apply(snapshot)
await dataSource.apply(snapshot)
}
}

View File

@ -55,7 +55,7 @@ class TrendingLinksViewController: EnhancedTableViewController {
var snapshot = NSDiffableDataSourceSnapshot<Section, Item>()
snapshot.appendSections([.links])
snapshot.appendItems(links.map(Item.init))
dataSource.apply(snapshot)
await dataSource.apply(snapshot)
}
}