mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +00:00
fix: duplicate units displayed
This commit is contained in:
parent
528bc7405c
commit
8155e4afd4
2 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ class BalanceSelector<T> extends ConsumerWidget {
|
||||||
height: 2,
|
height: 2,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"${ref.watch(pAmountFormatter(coin)).format(balance)} ${coin.ticker}",
|
ref.watch(pAmountFormatter(coin)).format(balance),
|
||||||
style: STextStyles.itemSubtitle12(context).copyWith(
|
style: STextStyles.itemSubtitle12(context).copyWith(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.extension<StackColors>()!
|
.extension<StackColors>()!
|
||||||
|
|
|
@ -151,7 +151,7 @@ class _WalletSummaryInfoState extends ConsumerState<WalletSummaryInfo> {
|
||||||
FittedBox(
|
FittedBox(
|
||||||
fit: BoxFit.scaleDown,
|
fit: BoxFit.scaleDown,
|
||||||
child: SelectableText(
|
child: SelectableText(
|
||||||
"${ref.watch(pAmountFormatter(coin)).format(balanceToShow)} ${coin.ticker}",
|
ref.watch(pAmountFormatter(coin)).format(balanceToShow),
|
||||||
style: STextStyles.pageTitleH1(context).copyWith(
|
style: STextStyles.pageTitleH1(context).copyWith(
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
|
|
Loading…
Reference in a new issue