This commit is contained in:
Isaac
2026-01-13 19:21:49 +04:00
parent 3773777141
commit 2db08cde89
167 changed files with 4322 additions and 3473 deletions

View File

@@ -290,7 +290,7 @@ final class StickersResultPanelComponent: Component {
}, present: { [weak self] content, sourceView, sourceRect in
if let self, let component = self.component {
let presentationData = component.context.sharedContext.currentPresentationData.with { $0 }.withUpdated(theme: component.theme)
let controller = PeekController(presentationData: presentationData, content: content, sourceView: {
let controller = makePeekController(presentationData: presentationData, content: content, sourceView: {
return (sourceView, sourceRect)
})
component.presentInGlobalOverlay(controller)