[ios] Fixed bug with create category alert.

This commit is contained in:
VladiMihaylenko 2018-04-16 11:50:18 +03:00 committed by Roman Kuznetsov
parent ff5f041998
commit 628b0ce5d6

View file

@ -146,7 +146,7 @@ extension BCCreateCategoryAlert: UITextFieldDelegate {
extension BCCreateCategoryAlert: MWMKeyboardObserver {
func onKeyboardAnimation() {
centerHorizontaly.constant -= MWMKeyboard.keyboardHeight() / 2
centerHorizontaly.constant = -MWMKeyboard.keyboardHeight() / 2
layoutIfNeeded()
}