Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Fix autolayout conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jzzocc committed Nov 28, 2022
1 parent 0e46a0e commit bdd63e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion View Controllers/TableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bdd63e2

Please sign in to comment.