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

[Compose-Android] Modify Resources for android internal implementation #600

Open
wants to merge 1 commit into
base: androidx-main
Choose a base branch
from

Conversation

hubtwork
Copy link
Contributor

This is a internal implementation style change

This PR tries to highlight the difference between :

resources() in Resources.android.kt has unusable code block for LocalConfiguration.current.
It seems not intuitive implementation which uses just doubling call for LocalConfiguration.current.
So catch the value and reuse it for intuitiveness.

Test: N/A expected function result is not different with before one.

@hubtwork
Copy link
Contributor Author

hubtwork commented Sep 5, 2023

@dlam @yigit why no approval?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants