SwiftMessages icon indicating copy to clipboard operation
SwiftMessages copied to clipboard

Swift 6 support

Open artemelianov opened this issue 7 months ago • 1 comments

Currently, I am migrating a project to Swift 6 and have found a warning at the asMessageView method: Call to main actor-isolated initializer 'init(message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode.

Probably, we need to make the asMessageView method of MessageViewConvertible as @MainActor

artemelianov avatar Jul 17 '24 17:07 artemelianov