From 2ea0fddbcd975775ad2e451f827c82d9bb1fdba3 Mon Sep 17 00:00:00 2001 From: Gabriel Danjon Date: Thu, 26 Feb 2026 17:02:18 +0100 Subject: [PATCH] Adapt: The accuracy constant types with the parameter used to get the position (getCurrentPosition) --- lib/models/config/config.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/models/config/config.dart b/lib/models/config/config.dart index 2e3f32c..b7b144e 100644 --- a/lib/models/config/config.dart +++ b/lib/models/config/config.dart @@ -96,12 +96,12 @@ class Config { static const int LOG_LEVEL_DEBUG = 4; static const int LOG_LEVEL_VERBOSE = 5; - static const int DESIRED_ACCURACY_NAVIGATION = -2; - static const int DESIRED_ACCURACY_HIGH = -1; - static const int DESIRED_ACCURACY_MEDIUM = 10; - static const int DESIRED_ACCURACY_LOW = 100; - static const int DESIRED_ACCURACY_VERY_LOW = 1000; - static const int DESIRED_ACCURACY_LOWEST = 3000; + static const double DESIRED_ACCURACY_NAVIGATION = -2; + static const double DESIRED_ACCURACY_HIGH = -1; + static const double DESIRED_ACCURACY_MEDIUM = 10; + static const double DESIRED_ACCURACY_LOW = 100; + static const double DESIRED_ACCURACY_VERY_LOW = 1000; + static const double DESIRED_ACCURACY_LOWEST = 3000; static const int AUTHORIZATION_STATUS_NOT_DETERMINED = 0; static const int AUTHORIZATION_STATUS_RESTRICTED = 1;