first pass

This commit is contained in:
stopflock
2026-07-15 18:01:29 -05:00
parent 2cddcbef7d
commit be2fe84db5
6 changed files with 68 additions and 31 deletions
+1 -1
View File
@@ -54,8 +54,8 @@ class MapDataProvider {
required List<NodeProfile> profiles,
UploadMode uploadMode = UploadMode.production,
int maxResults = 0, // 0 = no limit for offline downloads
int maxTries = 3,
}) async {
if (AppState.instance.offlineMode) {
throw OfflineModeException("Cannot fetch remote nodes for offline area download in offline mode.");
}