Skip to content

Commit

Permalink
Sort icons Array before passing to exportIcons (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
niusounds authored Nov 21, 2023
1 parent 1803796 commit 5e7dcd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FigmaExport/Subcommands/ExportIcons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ extension FigmaExportCommand {
}.map { fileContents -> String in
fileContents.destination.file.deletingPathExtension().lastPathComponent
})
let composeFile = try composeExporter.exportIcons(iconNames: Array(composeIconNames))
let composeFile = try composeExporter.exportIcons(iconNames: Array(composeIconNames).sorted())
composeFile.map { localFiles.append($0) }

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

0 comments on commit 5e7dcd2

Please sign in to comment.