Fix autolayout conflict
This commit is contained in:
parent
0e46a0eb28
commit
bdd63e2cfb
|
@ -877,8 +877,8 @@ private extension TableViewController {
|
||||||
func hideNewItemsView() {
|
func hideNewItemsView() {
|
||||||
UIView.animate(withDuration: .zeroIfReduceMotion(.defaultAnimationDuration)) {
|
UIView.animate(withDuration: .zeroIfReduceMotion(.defaultAnimationDuration)) {
|
||||||
self.newItemsView.alpha = 0
|
self.newItemsView.alpha = 0
|
||||||
self.newItemsViewHiddenConstraint?.isActive = true
|
|
||||||
self.newItemsViewVisibleConstraint?.isActive = false
|
self.newItemsViewVisibleConstraint?.isActive = false
|
||||||
|
self.newItemsViewHiddenConstraint?.isActive = true
|
||||||
self.view.layoutIfNeeded()
|
self.view.layoutIfNeeded()
|
||||||
} completion: { _ in
|
} completion: { _ in
|
||||||
self.reloadVisibleItems()
|
self.reloadVisibleItems()
|
||||||
|
|
Loading…
Reference in New Issue