Skip to content

Commit 5e7dcd2

Browse files
authored
Sort icons Array before passing to exportIcons (#224)
1 parent 1803796 commit 5e7dcd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FigmaExport/Subcommands/ExportIcons.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ extension FigmaExportCommand {
218218
}.map { fileContents -> String in
219219
fileContents.destination.file.deletingPathExtension().lastPathComponent
220220
})
221-
let composeFile = try composeExporter.exportIcons(iconNames: Array(composeIconNames))
221+
let composeFile = try composeExporter.exportIcons(iconNames: Array(composeIconNames).sorted())
222222
composeFile.map { localFiles.append($0) }
223223

224224
logger.info("Writing files to Android Studio project...")

0 commit comments

Comments
 (0)