From 91641aecacecd21c3d93055399a435eca3975f27 Mon Sep 17 00:00:00 2001 From: Angelin Scheidweiler <40242801+Ascheidweiler@users.noreply.github.com> Date: Sat, 18 Jan 2025 16:57:30 -0600 Subject: [PATCH] Enforce no grouping in currency formatter, to be consistent with MoneyFilter. Fixes #13922 --- .../components/settings/app/subscription/boost/Boost.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/boost/Boost.kt b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/boost/Boost.kt index 9a068eaf4f8..dd1dedc2ff9 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/boost/Boost.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/subscription/boost/Boost.kt @@ -291,6 +291,7 @@ data class Boost( } formatter.maximumFractionDigits = currency.defaultFractionDigits + formatter.isGroupingUsed = false val value = s.toString().toDoubleOrNull()