From 79db8582cfcd26221b67fa4a5dcf0796e0a14118 Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Tue, 24 Mar 2026 16:31:38 +0100 Subject: [PATCH] remove the DEBUG check from the PreviewScrollView --- ElementX/Sources/Other/SwiftUI/PreviewScrollView.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/ElementX/Sources/Other/SwiftUI/PreviewScrollView.swift b/ElementX/Sources/Other/SwiftUI/PreviewScrollView.swift index 06b33a93c..d6324c968 100644 --- a/ElementX/Sources/Other/SwiftUI/PreviewScrollView.swift +++ b/ElementX/Sources/Other/SwiftUI/PreviewScrollView.swift @@ -7,7 +7,6 @@ import SwiftUI -#if DEBUG /// Only use in Previews! This useful scroll view allows you to still have a scroll view when previewing in Xcode /// but ignores it when running the tests, which allows you to still use it's content directly in preview tests /// and render the preview with `sizeThatFits` layout. @@ -24,4 +23,3 @@ struct PreviewScrollView: View { } } } -#endif