Update OIDC presentation (#987)

* Present OIDC directly on the ServerConfirmationScreen.

Read the actual window from the view.

* Pop back to the confirmation screen when a user enters an MXID that needs OIDC.

* Remove OIDC error handling from the login screen.
This commit is contained in:
Doug
2023-05-30 16:51:00 +01:00
committed by GitHub
parent 2ea8fe0254
commit e1498e895b
24 changed files with 130 additions and 122 deletions

View File

@@ -49,6 +49,10 @@ struct SoftLogoutScreen: View {
}
.background(Color.element.background.ignoresSafeArea())
.alert(item: $context.alertInfo) { $0.alert }
.introspectViewController { viewController in
guard let window = viewController.view.window else { return }
context.send(viewAction: .updateWindow(window))
}
}
/// The title, message and icon at the top of the screen.