diff --git a/submodules/Display/Source/WindowContent.swift b/submodules/Display/Source/WindowContent.swift index ec513047c5..cdab3a0df7 100644 --- a/submodules/Display/Source/WindowContent.swift +++ b/submodules/Display/Source/WindowContent.swift @@ -516,12 +516,12 @@ public class Window1 { } }) - #if DEBUG + #if DEBUG && false let testView = UIView() testView.backgroundColor = .blue testView.layer.zPosition = 1000.0 - #endif self.hostView.containerView.addSubview(testView) + #endif self.keyboardFrameChangeObserver = NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillChangeFrameNotification, object: nil, queue: nil, using: { [weak self] notification in if let strongSelf = self { var isTablet = false @@ -534,7 +534,7 @@ public class Window1 { return } - #if DEBUG + #if DEBUG && false testView.frame = keyboardFrame.insetBy(dx: -2.0, dy: -2.0) #endif