Skip to content

Commit

Permalink
fix: fix the value of gps accurency
Browse files Browse the repository at this point in the history
  • Loading branch information
Aline Bonnet committed Oct 8, 2024
1 parent ddb2c15 commit 5c779db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/page/capture_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class _CapturePageState extends State<CapturePage> 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
Expand Down

0 comments on commit 5c779db

Please sign in to comment.