Updated on 2026-08-14

This commit is contained in:
Tangem 2025-08-05 19:21:53 +07:00
parent 3a5163061d
commit 60e1f52f94

View file

@ -17,7 +17,8 @@ const val DECIMAL_SEPARATOR_LIMIT = 1
@Composable
fun rememberDecimalFormat(): DecimalFormat {
val locale = LocalConfiguration.current.locale
val locales = LocalConfiguration.current.locales
val locale = if (locales.isEmpty) Locale.getDefault() else locales[0]
val decimalSymbols = remember { DecimalFormatSymbols.getInstance(locale) }
return remember {