chore: Follow up homeserver input field

pull/1462/head
Krille 1 year ago
parent d2c2284182
commit b2e1accf9d
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -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…
Cancel
Save