Add option to simulate stickers import

This commit is contained in:
Ilya Laktyushin
2021-06-18 08:49:39 +03:00
parent d8e36f149f
commit ec915d2620
4 changed files with 94 additions and 57 deletions

View File

@@ -732,6 +732,10 @@ final class ImportStickerPackControllerNode: ViewControllerTracingNode, UIScroll
transition = .animated(duration: 0.4, curve: .spring)
} else {
transition = .immediate
self.contentTitleNode.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
self.contentGridNode.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
self.installActionButtonNode.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
}
self.containerLayoutUpdated(layout, navigationBarHeight: navigationBarHeight, transition: transition)