mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Merge pull request #482 from Austinpayne/fix/dl-tiles-twice
fix: map tiles being downloaded remotely twice
This commit is contained in:
commit
60f830259f
1 changed files with 2 additions and 1 deletions
|
|
@ -148,8 +148,9 @@ class OfflineTileManager: ObservableObject {
|
|||
try data.write(to: filename)
|
||||
} catch {
|
||||
print("💀 Save Tile Error = \(error)")
|
||||
return url
|
||||
}
|
||||
return url
|
||||
return filename
|
||||
}
|
||||
private func filterTilesAlreadyExisting(paths: [MKTileOverlayPath]) -> [MKTileOverlayPath] {
|
||||
paths.filter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue