This commit is contained in:
Ilya Laktyushin 2024-08-11 15:36:54 +02:00
parent 701319f86e
commit 87cf5a59f4

View File

@ -306,6 +306,7 @@ private class ExtendedMediaOverlayNode: ASDisplayNode {
func reveal(animated: Bool = false) {
self.isRevealed = true
if animated {
self.dustNode.revealOnTap = true
self.dustNode.tap(at: CGPoint(x: self.dustNode.bounds.width / 2.0, y: self.dustNode.bounds.height / 2.0))
} else {
self.blurredImageNode.removeFromSupernode()