mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Ongoing work on the updated entity input
This commit is contained in:
@@ -16,6 +16,8 @@ public class PortalView {
|
||||
|
||||
if let portalSuperview = self.view.superview, let index = portalSuperview.subviews.firstIndex(of: self.view) {
|
||||
portalSuperview.insertSubview(self.view, at: index)
|
||||
} else if let portalSuperlayer = self.view.layer.superlayer, let index = portalSuperlayer.sublayers?.firstIndex(of: self.view.layer) {
|
||||
portalSuperlayer.insertSublayer(self.view.layer, at: UInt32(index))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user