mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): archive action (#19630)
* feat(mobile): archive action * fix: lint * Update i18n/en.json Co-authored-by: Alex <alex.tran1502@gmail.com> * fix: lint * fix: lint --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
53020852ec
commit
32a7087883
7 changed files with 114 additions and 3 deletions
|
|
@ -121,7 +121,7 @@ class ApiService implements Authentication {
|
|||
|
||||
try {
|
||||
await setEndpoint(serverUrl);
|
||||
await serverInfoApi.pingServer().timeout(const Duration(seconds: 5));
|
||||
await serverInfoApi.pingServer().timeout(const Duration(seconds: 60));
|
||||
} on TimeoutException catch (_) {
|
||||
return false;
|
||||
} on SocketException catch (_) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue