mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-22 08:10:59 +00:00
Fix autolayout conflict
This commit is contained in:
parent
0e46a0eb28
commit
bdd63e2cfb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue