mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Revert "size fitting preview tests for the media events timeline"
This reverts commit 666eee86fa0f5da845268bfebcf0173162649de8.
This commit is contained in:
@@ -14,7 +14,6 @@ struct PreviewScrollView<Content: View>: View {
|
||||
var content: () -> Content
|
||||
|
||||
var body: some View {
|
||||
#if DEBUG
|
||||
if ProcessInfo.isRunningTests {
|
||||
content()
|
||||
} else {
|
||||
@@ -22,10 +21,5 @@ struct PreviewScrollView<Content: View>: View {
|
||||
content()
|
||||
}
|
||||
}
|
||||
#else
|
||||
ScrollView {
|
||||
content()
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user