fix: duplicate units displayed

This commit is contained in:
julian 2023-05-29 16:53:22 -06:00
parent 528bc7405c
commit 8155e4afd4
2 changed files with 2 additions and 2 deletions

View file

@ -279,7 +279,7 @@ class BalanceSelector<T> extends ConsumerWidget {
height: 2,
),
Text(
"${ref.watch(pAmountFormatter(coin)).format(balance)} ${coin.ticker}",
ref.watch(pAmountFormatter(coin)).format(balance),
style: STextStyles.itemSubtitle12(context).copyWith(
color: Theme.of(context)
.extension<StackColors>()!

View file

@ -151,7 +151,7 @@ class _WalletSummaryInfoState extends ConsumerState<WalletSummaryInfo> {
FittedBox(
fit: BoxFit.scaleDown,
child: SelectableText(
"${ref.watch(pAmountFormatter(coin)).format(balanceToShow)} ${coin.ticker}",
ref.watch(pAmountFormatter(coin)).format(balanceToShow),
style: STextStyles.pageTitleH1(context).copyWith(
fontSize: 24,
color: Theme.of(context)