From 4dd6120daedc0bea738f8b92bbf3725b7edbe293 Mon Sep 17 00:00:00 2001 From: Yahor Urbanovich Date: Wed, 24 Jul 2024 13:58:14 +0300 Subject: [PATCH] Fix: single icon pack ignored icon rename logic --- .../mode/iconpack/conversion/IconPackConversionViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/mode/iconpack/conversion/IconPackConversionViewModel.kt b/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/mode/iconpack/conversion/IconPackConversionViewModel.kt index d549a010..43168918 100644 --- a/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/mode/iconpack/conversion/IconPackConversionViewModel.kt +++ b/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/mode/iconpack/conversion/IconPackConversionViewModel.kt @@ -163,7 +163,7 @@ class IconPackConversionViewModel( val parserOutput = IconParser.toVector(icon.path) val vectorSpecOutput = ImageVectorGenerator.convert( vector = parserOutput.vector, - kotlinName = parserOutput.kotlinName, + kotlinName = icon.iconName.value, config = ImageVectorGeneratorConfig( packageName = icon.iconPack.iconPackage, packName = valkyriesSettings.value.iconPackName,