Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[resources] Use first of preferred locales instead of a current on iOS (
#4507) There is a bug on iOS: ``` NSLocale.currentLocale() -> 'en-US' NSLocale.preferredLanguages().first().let { NSLocale(it as String) } -> 'ru' ``` An equal result was expected! the first method was used in a non-compose code and another one in the compose code. The PR fixes behavior in a non-compose environment.
- Loading branch information