Reauthentication: Update reauthentication and cross singing setup coordinator presenter parameter for ObjC.

This commit is contained in:
SBiOSoftWhare
2021-02-10 18:57:01 +01:00
parent 2db3230cf6
commit 71121a84fa
2 changed files with 9 additions and 7 deletions
@@ -23,8 +23,9 @@ class ReauthenticationCoordinatorParameters: NSObject {
/// The Matrix session
let session: MXSession
/// The presenter used to show authentication screen(s)
let presenter: Presentable
/// The presenter used to show authentication screen(s).
/// Note: Use UIViewController instead of Presentable for ObjC compatibility.
let presenter: UIViewController
/// The title to use in the authentication screen if present.
let title: String?
@@ -36,7 +37,7 @@ class ReauthenticationCoordinatorParameters: NSObject {
let authenticatedEndpointRequest: AuthenticatedEndpointRequest
init(session: MXSession,
presenter: Presentable,
presenter: UIViewController,
title: String?,
message: String?,
authenticatedEndpointRequest: AuthenticatedEndpointRequest) {