Skip to content

Commit 78f7ce8

Browse files
t-regbsegorikftp
authored andcommitted
chore: fix formatting
1 parent 45d0c5d commit 78f7ce8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,11 @@ fun KtProperty.getOrCreateGutterIcon(): Icon? {
6969
* This function parses the ImageVector definition and renders it as a Swing Icon
7070
* suitable for display in the IDE UI (project view, gutter, completion, etc.).
7171
*/
72-
private fun KtFile.createImageVectorIcon(): Icon? =
73-
ImageVectorPsiParser.parseToIrImageVector(this)
74-
?.toIcon()
72+
private fun KtFile.createImageVectorIcon(): Icon? = ImageVectorPsiParser.parseToIrImageVector(this)
73+
?.toIcon()
7574

76-
private fun KtProperty.createIcon(): Icon? =
77-
parseImageVectorProperty(this)
78-
?.toIcon()
75+
private fun KtProperty.createIcon(): Icon? = parseImageVectorProperty(this)
76+
?.toIcon()
7977

8078
private fun IrImageVector.toIcon(): Icon = ImageVectorIcon(
8179
vectorXml = toVectorXmlString(),

0 commit comments

Comments
 (0)