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