docs(core): add little note about props locale
This commit is contained in:
parent
9cef464bf5
commit
88e44b1cbb
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ import java.util.Locale
|
|||
@Suppress("ConstantLocale")
|
||||
internal actual val platformSuperProps = PlatformProps(
|
||||
device = android.os.Build.DEVICE,
|
||||
// TODO: this only outputs language but not country (e.g. en instead of en-AU)
|
||||
// .toLanguageTag() is close, but returns too much junk (e.g. en-AU-u-fw-mon)
|
||||
systemLocale = Locale.getDefault().language,
|
||||
osVersion = "${android.os.Build.VERSION.SDK_INT}",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue