From b5a1b84fa8c9973282b147ddce0084c9cf498881 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 16 May 2025 12:48:01 -0400 Subject: [PATCH] Fixes logging of the memory cache usage --- amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt index f90bc9430..d735ed33f 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt @@ -66,7 +66,7 @@ fun debugState(context: Context) { ) Log.d( "STATE DUMP", - "Image Memory Cache ${(Amethyst.instance.memoryCache.size) / (1024 * 1024)}/${(Amethyst.instance.memoryCache.size) / (1024 * 1024)} MB", + "Image Memory Cache ${(Amethyst.instance.memoryCache.size) / (1024 * 1024)}/${(Amethyst.instance.memoryCache.maxSize) / (1024 * 1024)} MB", ) Log.d(