chore(mobile): Add const linter ()

This commit is contained in:
Alex 2024-12-02 09:33:44 -06:00 committed by GitHub
parent 4eb7758f56
commit 1bb6926b5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 39 additions and 34 deletions
mobile/lib/services

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 (_) {