chore: Login with localhost

This commit is contained in:
Christian Kußowski 2026-03-12 17:55:50 +01:00
parent 76fdabecaa
commit 9ede56427f
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -39,7 +39,7 @@ class SignInViewModel extends ValueNotifier<SignInState> {
.toList() ?? .toList() ??
[]; [];
if (filterText.length >= 3 && if (filterText.length >= 3 &&
filterText.contains('.') && (filterText.contains('.') || filterText == 'localhost') &&
Uri.tryParse(filterText) != null && Uri.tryParse(filterText) != null &&
!filteredPublicHomeservers.any( !filteredPublicHomeservers.any(
(homeserver) => homeserver.name == filterText, (homeserver) => homeserver.name == filterText,