Fix emoji search field glitch (?)

This commit is contained in:
Ali 2023-01-10 21:34:52 +04:00
parent bbe1fc94ef
commit b55ce6d7a2

View File

@ -6165,10 +6165,10 @@ public final class EmojiPagerContentComponent: Component {
} }
} }
} else { } else {
if visibleSearchHeader.superview != self.scrollView { /*if visibleSearchHeader.superview != self.scrollView {
self.scrollView.addSubview(visibleSearchHeader) self.scrollView.addSubview(visibleSearchHeader)
self.mirrorContentScrollView.addSubview(visibleSearchHeader.tintContainerView) self.mirrorContentScrollView.addSubview(visibleSearchHeader.tintContainerView)
} }*/
} }
} else { } else {
visibleSearchHeader = EmojiSearchHeaderView(activated: { [weak self] in visibleSearchHeader = EmojiSearchHeaderView(activated: { [weak self] in