From b174505c193c1bbed7cfd77f8eafaf9cb9675750 Mon Sep 17 00:00:00 2001 From: Mica White Date: Wed, 21 Jan 2026 18:31:44 -0500 Subject: Attempt to fix geolocator --- lib/home.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/home.dart b/lib/home.dart index fd2e278..b9dce40 100644 --- a/lib/home.dart +++ b/lib/home.dart @@ -48,6 +48,10 @@ class _HomePageState extends State { }); } }); + _positionStream?.onError((error) { + _positionStream?.cancel(); + Timer(Duration(seconds: 1), () => _initPositionStream(locationAccuracy)); + }); } @override -- cgit v1.2.3