diff --git a/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java b/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java index 6ac90381b..caea84667 100644 --- a/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java +++ b/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java @@ -657,7 +657,7 @@ public int getConnectivityReceiverActivationCounter() { * @param tileDownloadLimit maximum number of Mapbox-hosted tiles that may be downloaded */ public MapBoxOfflineResourcesDownloader withTileDownloadLimit(long tileDownloadLimit) { - if(offlineManager!=null) { + if (offlineManager != null) { offlineManager.setOfflineMapboxTileCountLimit(tileDownloadLimit); } return this;