Fix stickers search

This commit is contained in:
Ilya Laktyushin
2023-07-12 20:17:01 +02:00
parent e2afc7304c
commit 6c7b921030
9 changed files with 75 additions and 81 deletions

View File

@@ -295,12 +295,7 @@ final class StickersResultPanelComponent: Component {
let controller = PeekController(presentationData: presentationData, content: content, sourceView: {
return (sourceView, sourceRect)
})
// controller.visibilityUpdated = { [weak self] visible in
// self?.previewingStickersPromise.set(visible)
// }
component.presentInGlobalOverlay(controller)
// strongSelf.peekController = controller
// strongSelf.getControllerInteraction?()?.presentGlobalOverlayController(controller, nil)
return controller
}
return nil