From 81a02e46afe924aa40d43adfae8c8c6ccccb3a20 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Mon, 29 Sep 2025 01:25:01 +0800 Subject: [PATCH] Fix build --- submodules/Display/Source/WindowContent.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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