tx card decimal places fix

This commit is contained in:
julian 2023-03-27 10:38:50 -06:00
parent 46e62f2b2c
commit 748d70e34f

View file

@ -242,7 +242,7 @@ class _TransactionCardState extends ConsumerState<TransactionCard> {
"$prefix${Format.localizedStringAsFixed(
value: amount.decimal,
locale: locale,
decimalPlaces: coin.decimals,
decimalPlaces: amount.fractionDigits,
)} $unit",
style: STextStyles.itemSubtitle12(context),
);