mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix various small errors when running in the Swift 6 language mode (#4109)
* Fix various small errors when running in the Swift 6 language mode * Make the `TargetConfiguration` run on the main actor. * Fixed a comment * Add a comment as to why we can't make the whole NSE a main actor. * Fix the unit tests * Fix `blankLinesAtStartOfScope` swiftformat error.
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MatrixRustSDK
|
||||
|
||||
@preconcurrency import MatrixRustSDK
|
||||
|
||||
/// A wrapper around Rust's `MediaFileHandle` type that provides us with a
|
||||
/// media file that is stored unencrypted in a temporary location for previewing.
|
||||
class MediaFileHandleProxy {
|
||||
final class MediaFileHandleProxy: Sendable {
|
||||
/// The underlying handle for the file.
|
||||
private let handle: MediaFileHandleProtocol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user