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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant code in ShowkaseTheme.kt #243

Merged
merged 1 commit into from Jul 16, 2022

Conversation

oas004
Copy link
Contributor

@oas004 oas004 commented Jul 16, 2022

Thanks for an awesome library! I noticed that there was some redundant code in the ShowkaseTheme.kt code file, so I optimised it In this PR. 馃槃


@Composable
fun ShowkaseTheme(children: @Composable()() -> Unit) {
Copy link
Collaborator

@vinaygaba vinaygaba Jul 16, 2022

Choose a reason for hiding this comment

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

ha this rings a bell. Showkase was started when Compose was still in dev preview (back in April/May 2020). At the time, this syntax used to be needed 馃槄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aha! That makes sense! 馃槃

@vinaygaba vinaygaba merged commit e425d5b into airbnb:master Jul 16, 2022
@oas004 oas004 deleted the fix/optimize-theme-formatting branch July 16, 2022 18:46
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.

None yet

2 participants