Skip to content

Conversation

cartland
Copy link
Contributor

The lint tool reported ComposableNaming warnings in GlanceSnippets.kt. Composable functions that return Unit should be named using PascalCase, like classes, to clearly identify them as UI components.

This commit renames 12 Composable functions to adhere to this convention. For example, 'actionLambda' has been renamed to 'ActionLambda'. This follows Compose best practices.

The lint tool reported "ComposableNaming" warnings in GlanceSnippets.kt.
Composable functions that return Unit should be named using PascalCase,
like classes, to clearly identify them as UI components.

This commit renames 12 Composable functions to adhere to this convention.
For example, `actionLambda` has been renamed to `ActionLambda`.
This improves code readability and follows Compose best practices.
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