chore: Follow up homeserver input field
This commit is contained in:
parent
d2c2284182
commit
b2e1accf9d
1 changed files with 3 additions and 1 deletions
|
|
@ -80,7 +80,9 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
}
|
||||
|
||||
void onSubmitted([_]) {
|
||||
if (isLoading) return tryCheckHomeserverActionWithoutCooldown();
|
||||
if (isLoading || _checkHomeserverCooldown?.isActive == true) {
|
||||
return tryCheckHomeserverActionWithoutCooldown();
|
||||
}
|
||||
if (supportsSso) return ssoLoginAction();
|
||||
if (supportsPasswordLogin) return login();
|
||||
return tryCheckHomeserverActionWithoutCooldown();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue