Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-08-29 20:57:29 +03:00
parent 0461059383
commit b5db0d8494
10 changed files with 68 additions and 23 deletions

View File

@@ -223,6 +223,14 @@ final class ReplyAccessoryPanelNode: AccessoryPanelNode {
self.view.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(self.tapGesture(_:))))
}
override func animateIn() {
self.iconNode.layer.animateScale(from: 0.001, to: 1.0, duration: 0.2)
}
override func animateOut() {
self.iconNode.layer.animateScale(from: 1.0, to: 0.001, duration: 0.2, removeOnCompletion: false)
}
override func updateThemeAndStrings(theme: PresentationTheme, strings: PresentationStrings) {
if self.theme !== theme {
self.theme = theme