diff --git a/RiotSwiftUI/Modules/Authentication/Common/Service/MatrixSDK/LoginWizard.swift b/RiotSwiftUI/Modules/Authentication/Common/Service/MatrixSDK/LoginWizard.swift index f56319f37..3c9cf0730 100644 --- a/RiotSwiftUI/Modules/Authentication/Common/Service/MatrixSDK/LoginWizard.swift +++ b/RiotSwiftUI/Modules/Authentication/Common/Service/MatrixSDK/LoginWizard.swift @@ -51,7 +51,7 @@ class LoginWizard { /// - deviceID: The device ID, optional. If not provided or nil, the server will generate one. /// - removeOtherAccounts: If set to true, existing accounts with different user identifiers will be removed. /// - Returns: An `MXSession` if the login is successful. - func login(login: String, + @MainActor func login(login: String, password: String, initialDeviceName: String, deviceID: String? = nil, diff --git a/changelog.d/6722.bugfix b/changelog.d/6722.bugfix new file mode 100644 index 000000000..9a7b6dd8f --- /dev/null +++ b/changelog.d/6722.bugfix @@ -0,0 +1 @@ +Fix login crash on Xcode 14 builds