Work around SwiftUI on bugs on iPadOS so that we can add accounts on the iPad

This commit is contained in:
Maurice Parker
2019-09-11 20:50:03 -05:00
parent efcbdd642a
commit 31b506b85a
5 changed files with 64 additions and 99 deletions

View File

@@ -495,7 +495,6 @@ private extension MasterTimelineViewController {
var snapshot = NSDiffableDataSourceSnapshot<Int, Article>()
snapshot.appendSections([0])
snapshot.appendItems(coordinator.articles, toSection: 0)
print("********* article count: \(coordinator.articles.count)")
dataSource.apply(snapshot, animatingDifferences: animate) { [weak self] in
self?.restoreSelectionIfNecessary()