chore: Follow up homeserver picker
This commit is contained in:
parent
4b7345d0fe
commit
a2e7356bd0
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
||||||
}
|
}
|
||||||
|
|
||||||
void onSubmitted([_]) {
|
void onSubmitted([_]) {
|
||||||
|
if (isLoading) return tryCheckHomeserverActionWithoutCooldown();
|
||||||
if (supportsSso) return ssoLoginAction();
|
if (supportsSso) return ssoLoginAction();
|
||||||
if (supportsPasswordLogin) return login();
|
if (supportsPasswordLogin) return login();
|
||||||
return tryCheckHomeserverActionWithoutCooldown();
|
return tryCheckHomeserverActionWithoutCooldown();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue