Skip to content

Conversation

Stefterv
Copy link
Collaborator

@Stefterv Stefterv commented Oct 15, 2025

As part of the Jetpack Compose UI, we would like to have a reactive component that we can use to read and set Processing's Locale live. This PR will improve on the existing functionality and adds testing.

Part of #1280

Changed the setLocale parameter in the Locale class to be nullable and updated its usage to safely invoke it. This allows for more flexible instantiation when a setLocale function is not required.
@Stefterv Stefterv requested a review from catilac October 15, 2025 09:43
Replaces the call to locale.setLocale with locale.set in LocaleKtTest to match the updated API for changing the locale.
@Stefterv Stefterv marked this pull request as ready for review October 15, 2025 09:58
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.

1 participant