From 9c84d0c375ec13d3b73b668da2676e715e108eb4 Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 6 Jun 2025 20:15:23 +0200 Subject: [PATCH] fix --- lib/services/tracking_service.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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