mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix search bar text inset
This commit is contained in:
parent
fd60c76855
commit
bb27a2ba5d
@ -480,7 +480,7 @@ private class SearchBarTextField: UITextField, UIScrollViewDelegate {
|
||||
rect.origin.x += prefixOffset
|
||||
rect.size.width -= prefixOffset
|
||||
}
|
||||
if !self.tokensWidth.isZero && self.scrollView == nil {
|
||||
if !self.tokensWidth.isZero && self.scrollView?.superview == nil {
|
||||
rect.origin.x += self.tokensWidth
|
||||
rect.size.width -= self.tokensWidth
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user