mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-09-12 21:30:02 -04:00
style: spotless reformat of TileCaches
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
43329abf7a
commit
ab1c7dd4d2
1 file changed
+3
-4
+3
-4
@@ -25,8 +25,7 @@ package org.meshtastic.feature.map.mapcompose.tile
|
||||
internal object TileCaches {
|
||||
private val caches = mutableMapOf<String, TileDiskCache>()
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user