Skip to content

Commit

Permalink
result -> numberOfTiles
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Dec 5, 2018
1 parent ebbc84e commit 14b3c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MapboxCoreNavigation/OfflineDirections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public class NavigationDirections: Directions {
let tilePath = filePathURL.path
let outputPath = outputDirectoryURL.path

let result = MBNavigator().unpackTiles(forPacked_tiles_path: tilePath, output_directory: outputPath)
let numberOfTiles = MBNavigator().unpackTiles(forPacked_tiles_path: tilePath, output_directory: outputPath)

// Report 100% progress
progressHandler?(totalPackedBytes, totalPackedBytes)
Expand All @@ -118,7 +118,7 @@ public class NavigationDirections: Directions {
timer = nil

DispatchQueue.main.async {
completionHandler?(result, nil)
completionHandler?(numberOfTiles, nil)
}
}
}
Expand Down

0 comments on commit 14b3c37

Please sign in to comment.