Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-08-27 02:36:32 +03:00
parent 7f192986e8
commit 09179b81d1
3 changed files with 69 additions and 44 deletions

View File

@@ -440,7 +440,10 @@ final class ChatThemeScreen: ViewController {
return
}
strongSelf.dismiss()
strongSelf.completion(emoticon)
if strongSelf.initiallySelectedEmoticon == nil && emoticon == nil {
} else {
strongSelf.completion(emoticon)
}
}
self.controllerNode.dismiss = { [weak self] in
self?.presentingViewController?.dismiss(animated: false, completion: nil)
@@ -456,6 +459,8 @@ final class ChatThemeScreen: ViewController {
override public func loadView() {
super.loadView()
self.view.disablesInteractiveTransitionGestureRecognizer = true
}
override public func viewDidAppear(_ animated: Bool) {