diff --git a/lib/screens/LocationsOverviewScreen.dart b/lib/screens/LocationsOverviewScreen.dart index 2ff72782..bee4eeed 100644 --- a/lib/screens/LocationsOverviewScreen.dart +++ b/lib/screens/LocationsOverviewScreen.dart @@ -341,7 +341,7 @@ class _LocationsOverviewScreenState extends State final settings = context.read(); final taskService = context.read(); - if (!(await taskService.hasRunningTasks()) || + if (!(await taskService.hasRunningTasks()) && !(await taskService.hasScheduledTasks())) { // Nothing needs to be updated return; diff --git a/lib/widgets/LocusFlutterMap.dart b/lib/widgets/LocusFlutterMap.dart index 4b3efa97..909717c1 100644 --- a/lib/widgets/LocusFlutterMap.dart +++ b/lib/widgets/LocusFlutterMap.dart @@ -4,8 +4,6 @@ import 'package:locus/constants/values.dart'; import 'package:locus/utils/location/get-fallback-location.dart'; import 'package:locus/utils/theme.dart'; -import "package:latlong2/latlong.dart"; - class LocusFlutterMap extends StatelessWidget { final List children; final List nonRotatedChildren;