Skip to content

Commit 36d72fd

Browse files
t-regbsegorikftp
authored andcommitted
refactor: update getOrCreateCachedIcon kdoc
1 parent 78f7ce8 commit 36d72fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/util/ImageVectorPsiUtil.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ fun KtFile.hasImageVectorProperties(): Boolean {
3434
}
3535

3636
/**
37-
* Gets or creates a cached gutter icon for an ImageVector property.
38-
*
39-
* This function uses the PSI caching mechanism to avoid recreating icons repeatedly
40-
* for the same property, improving performance.
41-
*/
37+
* Gets or creates a cached icon for a Kotlin file containing an ImageVector.
38+
*
39+
* Uses the PSI caching mechanism to avoid recreating the icon repeatedly
40+
* for the same file, improving performance.
41+
*/
4242
fun KtFile.getOrCreateCachedIcon(): Icon? {
4343
return CachedValuesManager
4444
.getManager(project).getCachedValue(this) {

0 commit comments

Comments
 (0)