remove the DEBUG check from the PreviewScrollView
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user