From 628b0ce5d675ffdb6d26bfac71ecab2f03c217c9 Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Mon, 16 Apr 2018 11:50:18 +0300 Subject: [PATCH] [ios] Fixed bug with create category alert. --- .../CreateBookmarkCategory/BCCreateCategoryAlert.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/CustomAlert/CreateBookmarkCategory/BCCreateCategoryAlert.swift b/iphone/Maps/Classes/CustomAlert/CreateBookmarkCategory/BCCreateCategoryAlert.swift index 06efc162da..7b3ba0b869 100644 --- a/iphone/Maps/Classes/CustomAlert/CreateBookmarkCategory/BCCreateCategoryAlert.swift +++ b/iphone/Maps/Classes/CustomAlert/CreateBookmarkCategory/BCCreateCategoryAlert.swift @@ -146,7 +146,7 @@ extension BCCreateCategoryAlert: UITextFieldDelegate { extension BCCreateCategoryAlert: MWMKeyboardObserver { func onKeyboardAnimation() { - centerHorizontaly.constant -= MWMKeyboard.keyboardHeight() / 2 + centerHorizontaly.constant = -MWMKeyboard.keyboardHeight() / 2 layoutIfNeeded() }