1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-14 07:04:24 +02:00

chore(mobile): Add const linter (#14447)

This commit is contained in:
Alex
2024-12-02 09:33:44 -06:00
committed by GitHub
parent 4eb7758f56
commit 1bb6926b5e
14 changed files with 39 additions and 34 deletions

View File

@ -104,7 +104,7 @@ class ApiService implements Authentication {
try {
await setEndpoint(serverUrl);
await serverInfoApi.pingServer().timeout(Duration(seconds: 5));
await serverInfoApi.pingServer().timeout(const Duration(seconds: 5));
} on TimeoutException catch (_) {
return false;
} on SocketException catch (_) {