Assigned
Status Update
Comments
ma...@google.com <ma...@google.com>
sg...@google.com <sg...@google.com> #2
This is probably happening because there are multiple instances of DataStore active. You should consider managing the DataStore as a singleton. See the attached bug for more info.
Description
Jetpack Compose component used: DatePicker from compose material "1.1.2"
Android Studio Build:Build #AI-223.8836.35.2231.10671973,
Kotlin version: 1.9.10
Steps to Reproduce or Code Sample to Reproduce:
1. Have the device/emulator in en locale
2. Switch locale to in the running app to a different desired locale (in my case cs-CZ)
3.Launch material date picker and see that on the first launch it's still in EN locale and on second launch, only the names of the days in the week are translated to newly set locale.
Here's also a little [Demo project](