mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
remove the DEBUG check from the PreviewScrollView
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
/// Only use in Previews! This useful scroll view allows you to still have a scroll view when previewing in Xcode
|
/// 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
|
/// 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.
|
/// and render the preview with `sizeThatFits` layout.
|
||||||
@@ -24,4 +23,3 @@ struct PreviewScrollView<Content: View>: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user