diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/StringResourceCache.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/StringResourceCache.kt index c193a35aa..b90e96410 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/StringResourceCache.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/StringResourceCache.kt @@ -53,7 +53,9 @@ fun stringRes( ): String = String .format( - LocalConfiguration.current.locales.get(0), + LocalConfiguration.current.locales + .get(0) + .toString(), resourceCache.get(id) ?: stringResource(id), *args, ).also { resourceCache.put(id, it) }