diff --git a/lib/pages/exchange_view/exchange_step_views/step_4_view.dart b/lib/pages/exchange_view/exchange_step_views/step_4_view.dart index 65270ca3e..c36e88bbf 100644 --- a/lib/pages/exchange_view/exchange_step_views/step_4_view.dart +++ b/lib/pages/exchange_view/exchange_step_views/step_4_view.dart @@ -138,7 +138,7 @@ class _Step4ViewState extends ConsumerState { Future _showSendFromFiroBalanceSelectSheet(String walletId) async { final coin = ref.read(pWalletCoin(walletId)); final balancePublic = ref.read(pWalletBalance(walletId)); - final balancePrivate = ref.read(pWalletBalanceSecondary(walletId)); + final balancePrivate = ref.read(pWalletBalanceTertiary(walletId)); return await showModalBottomSheet( context: context, diff --git a/lib/pages/wallets_view/sub_widgets/favorite_card.dart b/lib/pages/wallets_view/sub_widgets/favorite_card.dart index 4cbd10140..8aafe8e30 100644 --- a/lib/pages/wallets_view/sub_widgets/favorite_card.dart +++ b/lib/pages/wallets_view/sub_widgets/favorite_card.dart @@ -198,6 +198,11 @@ class _FavoriteCardState extends ConsumerState { pWalletBalanceSecondary(walletId), ) .total; + total += ref + .watch( + pWalletBalanceTertiary(walletId), + ) + .total; } Amount fiatTotal = Amount.zero; diff --git a/lib/pages_desktop_specific/desktop_exchange/subwidgets/desktop_choose_from_stack.dart b/lib/pages_desktop_specific/desktop_exchange/subwidgets/desktop_choose_from_stack.dart index 842026cbc..f1ffa7fed 100644 --- a/lib/pages_desktop_specific/desktop_exchange/subwidgets/desktop_choose_from_stack.dart +++ b/lib/pages_desktop_specific/desktop_exchange/subwidgets/desktop_choose_from_stack.dart @@ -294,6 +294,7 @@ class _BalanceDisplay extends ConsumerWidget { Amount total = ref.watch(pWalletBalance(walletId)).total; if (coin == Coin.firo || coin == Coin.firoTestNet) { total += ref.watch(pWalletBalanceSecondary(walletId)).total; + total += ref.watch(pWalletBalanceTertiary(walletId)).total; } return Text( diff --git a/lib/widgets/managed_favorite.dart b/lib/widgets/managed_favorite.dart index bb770ee2a..b5266ea2a 100644 --- a/lib/widgets/managed_favorite.dart +++ b/lib/widgets/managed_favorite.dart @@ -51,9 +51,11 @@ class _ManagedFavoriteCardState extends ConsumerState { Amount total = ref.watch(pWalletBalance(walletId)).total; if (coin == Coin.firo || coin == Coin.firoTestNet) { - final balancePrivate = ref.watch(pWalletBalanceSecondary(walletId)); + final balancePrivate = + ref.watch(pWalletBalanceSecondary(walletId)).total + + ref.watch(pWalletBalanceTertiary(walletId)).total; - total += balancePrivate.total; + total += balancePrivate; } final isFavourite = ref.watch(pWalletIsFavourite(walletId));