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() ??
|
.toList() ??
|
||||||
[];
|
[];
|
||||||
if (Uri.tryParse(filterText) != null &&
|
if (filterText.length >= 3 &&
|
||||||
|
filterText.contains('.') &&
|
||||||
|
Uri.tryParse(filterText) != null &&
|
||||||
!filteredPublicHomeservers.any(
|
!filteredPublicHomeservers.any(
|
||||||
(homeserver) => homeserver.name == filterText,
|
(homeserver) => homeserver.name == filterText,
|
||||||
)) {
|
)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue