take delete animations out

This commit is contained in:
Diogo
2024-11-09 15:51:09 +00:00
parent 73d2929af3
commit 4847d2222f
+6 -8
View File
@@ -254,14 +254,12 @@ struct ReverseList<Content: View>: UIViewControllerRepresentable {
animated: false
)
} else {
UITableView.performWithoutAnimation {
tableView.beginUpdates()
dataSource.apply(
snapshot,
animatingDifferences: false
)
tableView.endUpdates()
}
tableView.beginUpdates()
dataSource.apply(
snapshot,
animatingDifferences: false
)
tableView.endUpdates()
}
// Sets content offset on initial load