mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix queue assertion crashes on accessibility testing
This commit is contained in:
@@ -143,6 +143,7 @@ struct PreviewsWrapperView: View {
|
|||||||
// so we added a timeout. Since we are going to migrate from publishers to streams,
|
// so we added a timeout. Since we are going to migrate from publishers to streams,
|
||||||
// this is a temporary solution
|
// this is a temporary solution
|
||||||
var iterator = publisher
|
var iterator = publisher
|
||||||
|
.subscribe(on: DispatchQueue.main)
|
||||||
.timeout(.seconds(1), scheduler: DispatchQueue.main)
|
.timeout(.seconds(1), scheduler: DispatchQueue.main)
|
||||||
.values
|
.values
|
||||||
.makeAsyncIterator()
|
.makeAsyncIterator()
|
||||||
|
|||||||
Reference in New Issue
Block a user