mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
101fc7573b
LoadableImageContent.data(handler:) used MainActor.assumeIsolated to read the loader's content, which crashes (libdispatch precondition) when Kingfisher invokes the provider off the main thread, and fatalError'd when the content wasn't GIF data. Hop onto the main actor and return a failure instead. The handler is @Sendable per Kingfisher's protocol.