mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
chore(mobile): Add const linter (#14447)
This commit is contained in:
parent
4eb7758f56
commit
1bb6926b5e
14 changed files with 39 additions and 34 deletions
mobile/lib/services
|
@ -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 (_) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue