Merge pull request #2656 from krille-chan/krille/follow-up-search-homeserver
chore: Follow up search for homeserver
This commit is contained in:
commit
43ba692a21
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