From 5c779db976f95b118469411294d3bbc6f446c947 Mon Sep 17 00:00:00 2001 From: Aline Bonnet Date: Tue, 8 Oct 2024 09:40:04 +0200 Subject: [PATCH] fix: fix the value of gps accurency --- lib/page/capture_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/page/capture_page.dart b/lib/page/capture_page.dart index 67d4c47..ca37c9c 100644 --- a/lib/page/capture_page.dart +++ b/lib/page/capture_page.dart @@ -509,7 +509,7 @@ class _CapturePageState extends State with WidgetsBindingObserver { child: IconButton( //if the GPS is not active, the capture button does nothing, otherwise we see what mode we are in onPressed: - (_currentPosition == null || _accuracy == null || _accuracy! > 50) + (_currentPosition == null || _accuracy == null || _accuracy! > 10) ? startLocationUpdates : _isBurstMode ? takeBurstPictures