Skip to content

Commit

Permalink
fix a bug where a wrong class name used in some #if defines
Browse files Browse the repository at this point in the history
  • Loading branch information
brnkhy committed Jun 2, 2021
1 parent 25e3bee commit 66a615e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdkproject/Assets/Mapbox/Unity/MapboxAccess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void ConfigureFileSource()
DataManager = new EditorDataFetchingManager(_fileSource);
#else
_memoryCache = new MemoryCache(_configuration.MemoryCacheSize);
DataManager = new MapboxDataFetchingManager(_fileSource);
DataManager = new DataFetchingManager(_fileSource);
#endif

#if !UNITY_WEBGL
Expand All @@ -170,7 +170,7 @@ void ConfigureFileSource()
#if UNITY_EDITOR
var fileCache = new EditorFileCache();
#else
var fileCache = new FileCache(_fileSource);
var fileCache = new FileCache();
#endif

CacheManager = new MapboxCacheManager(_memoryCache, fileCache, sqliteCache);
Expand Down

0 comments on commit 66a615e

Please sign in to comment.