Skip to content

Fix selected card iconColor #2236

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

Merged
merged 2 commits into from
Sep 13, 2022
Merged

Fix selected card iconColor #2236

merged 2 commits into from
Sep 13, 2022

Conversation

lidord-wix
Copy link
Contributor

Description

Fix selected card iconColor (set tintColor to ignore the default coloring of the private Icon config)
to test it you should run private on the darkMode branch
WOAUILIB-3064

Changelog

Fix selected card iconColor

source={_.get(selectionOptions, 'icon', DEFAULT_SELECTION_PROPS.icon)}
tintColor={_.get(selectionOptions, 'iconColor', DEFAULT_SELECTION_PROPS.iconColor)}
Copy link
Collaborator

Choose a reason for hiding this comment

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

While we're here, maybe worth removing _.get usage and move to optional chaining

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done :)

@ethanshar ethanshar merged commit b25d5d4 into master Sep 13, 2022
@lidord-wix lidord-wix deleted the fix/selectedCard_iconColor branch September 19, 2022 08:13
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.

2 participants