mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Reduce reply view snapshot precision because of random imageSource
rendering
This commit is contained in:
parent
885cd10ba4
commit
f9fa3755ad
@ -316,7 +316,8 @@ struct TimelineReplyView_Previews: PreviewProvider, TestablePreview {
|
||||
}
|
||||
.padding()
|
||||
.environmentObject(viewModel.context)
|
||||
.snapshot(delay: 0.2) // Allow member names to load.
|
||||
// Allow member names to load. Reduce precission as the `imageSource` randomly renders slightly differently
|
||||
.snapshot(delay: 0.2, precision: 0.98)
|
||||
.previewLayout(.sizeThatFits)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user