mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Cherry-pick fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
private final class ChildWindowHostView: UIView, WindowHost {
|
||||
final class ChildWindowHostView: UIView, WindowHost {
|
||||
var updateSize: ((CGSize) -> Void)?
|
||||
var layoutSubviewsEvent: (() -> Void)?
|
||||
var hitTestImpl: ((CGPoint, UIEvent?) -> UIView?)?
|
||||
@@ -56,6 +56,7 @@ private final class ChildWindowHostView: UIView, WindowHost {
|
||||
}
|
||||
|
||||
func presentInGlobalOverlay(_ controller: ContainableController) {
|
||||
self.presentController?(controller, .root, true, {})
|
||||
}
|
||||
|
||||
func addGlobalPortalHostView(sourceView: PortalSourceView) {
|
||||
|
||||
Reference in New Issue
Block a user