diff --git a/lib/services/tracking_service.dart b/lib/services/tracking_service.dart index 900dc0c..5dedd81 100644 --- a/lib/services/tracking_service.dart +++ b/lib/services/tracking_service.dart @@ -45,12 +45,13 @@ class TrackingService { final _positionController = StreamController.broadcast(); final _statsController = StreamController.broadcast(); + // - Stores the last measured accuracy so that it can be displayed in the excursions view + double? currentAccuracy; + // - Getter Stream get positionStream$ => _positionController.stream; Stream get statsStream$ => _statsController.stream; - // - Stores the last measured accuracy so that it can be displayed in the excursions view double? currentAccuracy; - // Name says it all double _calculateMedianAccuracy(List accuracies) { // if one or less values for accuracy are available return that accuracy or 0