Skip to content

Remove duplicated Modifier usages in :demos:compose #2654

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

Conversation

MGaetan89
Copy link
Contributor

The modifier argument is already applied to the root IconButton. It is wrong to also apply it to the child Icon.

@icbaker icbaker requested a review from oceanjules July 25, 2025 13:33
@MGaetan89 MGaetan89 force-pushed the remove_redundant_modifier branch 2 times, most recently from 6a44a39 to 72ef093 Compare August 5, 2025 11:32
The `modifier` argument is already applied to the root `IconButton`.
It is wrong to also apply it to the child `Icon`.
@oceanjules oceanjules force-pushed the remove_redundant_modifier branch from 72ef093 to 1f2fdef Compare August 5, 2025 13:08
@copybara-service copybara-service bot merged commit 039b4fe into androidx:main Aug 5, 2025
1 check passed
@MGaetan89 MGaetan89 deleted the remove_redundant_modifier branch August 5, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants