Fix autolayout conflict

This commit is contained in:
Justin Mazzocchi 2022-11-27 22:49:32 -08:00
parent 0e46a0eb28
commit bdd63e2cfb
1 changed files with 1 additions and 1 deletions

View File

@ -877,8 +877,8 @@ private extension TableViewController {
func hideNewItemsView() {
UIView.animate(withDuration: .zeroIfReduceMotion(.defaultAnimationDuration)) {
self.newItemsView.alpha = 0
self.newItemsViewHiddenConstraint?.isActive = true
self.newItemsViewVisibleConstraint?.isActive = false
self.newItemsViewHiddenConstraint?.isActive = true
self.view.layoutIfNeeded()
} completion: { _ in
self.reloadVisibleItems()