Skip to content

Commit

Permalink
Reset TileStore's disk quota when offline example is opened (#2298)
Browse files Browse the repository at this point in the history
  • Loading branch information
maios authored Sep 17, 2024
1 parent 20e2139 commit 31743ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ final class OfflineManagerExample: UIViewController, NonMapViewExampleProtocol {
resetUI()

self.tileStore = TileStore.default
tileStore?.setOptionForKey(TileStoreOptions.diskQuota, value: NSNull())

logger?.log(message: "Enabling HTTP stack network connection", category: "Example", color: .orange)
OfflineSwitch.shared.isMapboxStackConnected = true
Expand Down

0 comments on commit 31743ba

Please sign in to comment.