Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Preview support #19

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Add Preview support #19

merged 1 commit into from
Dec 27, 2023

Conversation

ealfonso93
Copy link
Contributor

This PR add support to (if set to true) generate a preview along the icon, just in case, this is an opt out feature, by default it will create the preview.

Copy link
Owner

@DevSrSouza DevSrSouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@@ -60,7 +61,8 @@ class IconWriter(
val (fileSpec, accessProperty) = VectorAssetGenerator(
iconName,
groupPackage,
vector
vector,
generatePreview
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed generatePreview in

val writer = IconWriter(
icons.values,
groupClassName,
iconsPackage,
)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing in #22.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed it was also addressed to #20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants