chore: Follow up search for homeserver
This commit is contained in:
parent
febd0e6b41
commit
18d98d96c6
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ class SignInViewModel extends ValueNotifier<SignInState> {
|
|||
)
|
||||
.toList() ??
|
||||
[];
|
||||
if (Uri.tryParse(filterText) != null &&
|
||||
if (filterText.length >= 3 &&
|
||||
filterText.contains('.') &&
|
||||
Uri.tryParse(filterText) != null &&
|
||||
!filteredPublicHomeservers.any(
|
||||
(homeserver) => homeserver.name == filterText,
|
||||
)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue