no message

This commit is contained in:
Peter
2018-06-29 20:19:01 +03:00
parent faefdd54fe
commit 01ba13b13b
137 changed files with 5952 additions and 2505 deletions

View File

@@ -41,7 +41,13 @@ public func navigateToChatController(navigationController: NavigationController,
public func isOverlayControllerForChatNotificationOverlayPresentation(_ controller: ViewController) -> Bool {
if controller is GalleryController || controller is AvatarGalleryController || controller is ThemeGalleryController || controller is InstantPageGalleryController {
return true
} else {
return false
}
if controller.isNodeLoaded {
if let backgroundColor = controller.displayNode.backgroundColor, !backgroundColor.isEqual(UIColor.clear) {
return true
}
}
return false
}