mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-19 17:21:52 +00:00
Glass
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user