mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Call UI
This commit is contained in:
@@ -60,7 +60,7 @@ public class OverlayMaskContainerView: UIView, OverlayMaskContainerViewProtocol
|
||||
super.willRemoveSubview(subview)
|
||||
|
||||
if let view = subview as? OverlayMaskContainerViewProtocol {
|
||||
if view.maskContents.superview === self {
|
||||
if view.maskContents.superview === self.maskContents {
|
||||
view.maskContents.removeFromSuperview()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user