mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): Add integration tests (#1359)
This commit is contained in:
parent
e5d798581c
commit
f4c90426a5
10 changed files with 246 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue