mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
optimise open group suggestion grid hiding animation
This commit is contained in:
parent
b8463585fa
commit
b80fde69ca
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,7 @@ private final class EnterURLVC : UIViewController, UIGestureRecognizerDelegate,
|
|||
UIView.animate(withDuration: 0.25) {
|
||||
self.view.layoutIfNeeded()
|
||||
self.suggestionGridStackView.isHidden = true
|
||||
self.suggestionGridStackView.alpha = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -285,6 +286,7 @@ private final class EnterURLVC : UIViewController, UIGestureRecognizerDelegate,
|
|||
UIView.animate(withDuration: 0.25) {
|
||||
self.view.layoutIfNeeded()
|
||||
self.suggestionGridStackView.isHidden = false
|
||||
self.suggestionGridStackView.alpha = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue