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

Eliminates the useless type property from ViewEnvironmentKey. #999

Merged
merged 2 commits into from
May 16, 2023

Conversation

rjrjr
Copy link
Contributor

@rjrjr rjrjr commented May 15, 2023

No description provided.

@rjrjr rjrjr requested review from a team and zach-klippenstein as code owners May 15, 2023 21:18
@rjrjr rjrjr force-pushed the ray/less-stupid-keys branch 2 times, most recently from 9322da4 to 91fd086 Compare May 15, 2023 21:22
@rjrjr rjrjr force-pushed the ray/less-stupid-keys branch from 91fd086 to 3bb7596 Compare May 15, 2023 21:23
@rjrjr
Copy link
Contributor Author

rjrjr commented May 15, 2023

Kdoc update made me notice that BackStackConfig is in the wrong module. I'm going to add a commit to this PR that moves it from android to common code.

* Defines a value type [T] that can be provided by a [ViewEnvironment] map,
* and specifies its [default] value.
*
* It is hard to imagine a useful implementation of this that is not a Kotlin `object`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we make a lint rule to enforce this convention?

@rjrjr rjrjr enabled auto-merge May 16, 2023 18:53
@rjrjr rjrjr merged commit b9f7024 into main May 16, 2023
@rjrjr rjrjr deleted the ray/less-stupid-keys branch May 16, 2023 19:34
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.

4 participants