suspected locations background refresh

This commit is contained in:
stopflock
2026-06-14 21:40:22 -05:00
parent 0b812bdaea
commit 12ffe92df8
4 changed files with 30 additions and 6 deletions
+5
View File
@@ -61,6 +61,11 @@ class SuspectedLocationState extends ChangeNotifier {
notifyListeners();
}
/// Start background refresh if needed (non-blocking)
Future<void> initBackgroundRefresh({bool offlineMode = false}) async {
await _service.initBackgroundRefresh(offlineMode: offlineMode);
}
/// Enable or disable suspected locations
Future<void> setEnabled(bool enabled) async {
await _service.setEnabled(enabled);