Various fixes and improvements

This commit is contained in:
Ilya Laktyushin
2021-02-23 23:01:09 +04:00
parent 0ecc138ff6
commit b14e81b767
49 changed files with 4616 additions and 4342 deletions

View File

@@ -1242,6 +1242,9 @@ final class ChatMediaInputNode: ChatInputNode {
let controller = PeekController(theme: PeekControllerTheme(presentationTheme: strongSelf.theme), content: content, sourceNode: {
return sourceNode
})
controller.visibilityUpdated = { [weak self] visible in
}
strongSelf.controllerInteraction.presentGlobalOverlayController(controller, nil)
return controller
}