From 44585b49aeb3133fea3f2d72d7406e2b5edb3412 Mon Sep 17 00:00:00 2001 From: Peter Iakovlev Date: Tue, 6 Nov 2018 13:04:37 +0400 Subject: [PATCH] Cleanup --- Display/NativeWindowHostView.swift | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Display/NativeWindowHostView.swift b/Display/NativeWindowHostView.swift index d5c8620d5c..6f1799076d 100644 --- a/Display/NativeWindowHostView.swift +++ b/Display/NativeWindowHostView.swift @@ -264,22 +264,6 @@ private final class NativeWindow: UIWindow, WindowHost { return self.hitTestImpl?(point, event) } - override func insertSubview(_ view: UIView, at index: Int) { - super.insertSubview(view, at: index) - } - - override func addSubview(_ view: UIView) { - super.addSubview(view) - } - - override func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView) { - if let transitionClass = NSClassFromString("UITransitionView"), view.isKind(of: transitionClass) { - super.insertSubview(view, aboveSubview: self.subviews.last!) - } else { - super.insertSubview(view, aboveSubview: siblingSubview) - } - } - func invalidateDeferScreenEdgeGestures() { self.invalidateDeferScreenEdgeGestureImpl?() }