Update use case, registration and login screens.

Remove "Custom server" button from use case screen.
Remove matrix.org description.
Add username availability to registration screen.
This commit is contained in:
Doug
2022-07-13 13:39:27 +01:00
committed by Doug
parent ddc61660a3
commit 82b60f2e5e
24 changed files with 224 additions and 208 deletions
@@ -65,7 +65,6 @@ struct AuthenticationState {
/// The homeserver mapped into view data that is ready for display.
var viewData: AuthenticationHomeserverViewData {
AuthenticationHomeserverViewData(address: displayableAddress,
isMatrixDotOrg: isMatrixDotOrg,
showLoginForm: preferredLoginMode.supportsPasswordFlow,
showRegistrationForm: registrationFlow != nil && !needsRegistrationFallback,
ssoIdentityProviders: preferredLoginMode.ssoIdentityProviders ?? [])