remove the DEBUG check from the PreviewScrollView

This commit is contained in:
Mauro Romito
2026-03-24 16:31:38 +01:00
parent 844cfc1237
commit 79db8582cf

View File

@@ -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<Content: View>: View {
}
}
}
#endif