diff --git a/desktop/src/main/kotlin/org/meshtastic/desktop/Main.kt b/desktop/src/main/kotlin/org/meshtastic/desktop/Main.kt index f48380dbc..ea8562e21 100644 --- a/desktop/src/main/kotlin/org/meshtastic/desktop/Main.kt +++ b/desktop/src/main/kotlin/org/meshtastic/desktop/Main.kt @@ -244,11 +244,11 @@ fun main(args: Array) = application(exitProcessOnExit = false) { }, ) { setSingletonImageLoaderFactory { context -> - val cacheDir = System.getProperty("user.home") + "/.meshtastic/image_cache" + val cacheDir = System.getProperty("user.home") + "/.meshtastic/image_cache_v3" ImageLoader.Builder(context) .components { add(KtorNetworkFetcherFactory()) - add(SvgDecoder.Factory()) + add(SvgDecoder.Factory(renderToBitmap = false)) } .memoryCache { MemoryCache.Builder().maxSizeBytes(MEMORY_CACHE_MAX_BYTES).build() } .diskCache {