Merge commit 'c73cfb3a3a9ba20a5fb9d60b1288d8cc1670e526'

This commit is contained in:
Peter
2019-09-17 23:00:40 +04:00
53 changed files with 2657 additions and 2322 deletions

View File

@@ -837,6 +837,10 @@ public class GalleryController: ViewController, StandalonePresentableController
self?.presentingViewController?.dismiss(animated: false, completion: nil)
}
self.galleryNode.controlsVisibilityChanged = { [weak self] visible in
self?.prefersOnScreenNavigationHidden = !visible
}
let baseNavigationController = self.baseNavigationController
self.galleryNode.baseNavigationController = { [weak baseNavigationController] in
return baseNavigationController