diff --git a/feature/map/src/commonMain/kotlin/org/meshtastic/feature/map/mapcompose/tile/TileCaches.kt b/feature/map/src/commonMain/kotlin/org/meshtastic/feature/map/mapcompose/tile/TileCaches.kt index 7e17ad04a8..57eeaf336d 100644 --- a/feature/map/src/commonMain/kotlin/org/meshtastic/feature/map/mapcompose/tile/TileCaches.kt +++ b/feature/map/src/commonMain/kotlin/org/meshtastic/feature/map/mapcompose/tile/TileCaches.kt @@ -25,8 +25,7 @@ package org.meshtastic.feature.map.mapcompose.tile internal object TileCaches { private val caches = mutableMapOf() - fun shared(environment: TileCacheEnvironment): TileDiskCache = - caches.getOrPut(environment.cacheRoot.toString()) { - TileDiskCache(environment.fileSystem, environment.cacheRoot) - } + fun shared(environment: TileCacheEnvironment): TileDiskCache = caches.getOrPut(environment.cacheRoot.toString()) { + TileDiskCache(environment.fileSystem, environment.cacheRoot) + } }