mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(mobile): Add integration tests (#1359)
This commit is contained in:
@@ -223,6 +223,11 @@ class ServerEndpointInput extends StatelessWidget {
|
||||
parsedUrl.host.isEmpty) {
|
||||
return 'login_form_err_invalid_url'.tr();
|
||||
}
|
||||
|
||||
if (!parsedUrl.scheme.startsWith("https")) {
|
||||
return 'login_form_err_http_insecure'.tr();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -234,6 +239,7 @@ class ServerEndpointInput extends StatelessWidget {
|
||||
labelText: 'login_form_endpoint_url'.tr(),
|
||||
border: const OutlineInputBorder(),
|
||||
hintText: 'login_form_endpoint_hint'.tr(),
|
||||
errorMaxLines: 4
|
||||
),
|
||||
validator: _validateInput,
|
||||
autovalidateMode: AutovalidateMode.always,
|
||||
|
||||
Reference in New Issue
Block a user