mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
FF for QR code login + Login with qr code button (#2643)
This commit is contained in:
@@ -80,15 +80,18 @@ class AuthenticationFlowCoordinator: FlowCoordinatorProtocol {
|
||||
// MARK: - Private
|
||||
|
||||
private func showStartScreen() {
|
||||
let coordinator = AuthenticationStartScreenCoordinator()
|
||||
let coordinator = AuthenticationStartScreenCoordinator(parameters: .init(appSettings: appSettings))
|
||||
|
||||
coordinator.actions
|
||||
.sink { [weak self] action in
|
||||
guard let self else { return }
|
||||
|
||||
switch action {
|
||||
case .login:
|
||||
case .loginManually:
|
||||
Task { await self.startAuthentication() }
|
||||
case .loginWithQR:
|
||||
// TODO: Implement QR code login navigation
|
||||
break
|
||||
case .reportProblem:
|
||||
showReportProblemScreen()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user