Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-03-15 04:44:34 +04:00
parent 40a3142765
commit 64b80e92b4
4 changed files with 60 additions and 10 deletions

View File

@@ -1059,7 +1059,7 @@ static void setViewFrame(UIView *view, CGRect frame)
setViewFrame(_inputField, inputFieldFrame);
}
_doneButtonWrapper.frame = CGRectMake(self.frame.size.width - 47.0, CGRectGetMaxY(_fieldBackground.frame) - _doneButton.frame.size.height + 8.0, _doneButton.frame.size.width, _doneButton.frame.size.height);
_doneButtonWrapper.frame = CGRectMake(self.frame.size.width - 47.0, CGRectGetMaxY(_fieldBackground.frame) - _doneButton.frame.size.height + (TGIsPad() ? 7.0 : 8.0), _doneButton.frame.size.width, _doneButton.frame.size.height);
}
@end