Skip to content

Commit c73fef6

Browse files
committed
fix missing coin control option
1 parent 6d0a95e commit c73fef6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/pages/send_view/send_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ class _SendViewState extends ConsumerState<SendView> {
12221222
),
12231223
) &&
12241224
ref.watch(pWallets).getWallet(walletId) is CoinControlInterface &&
1225-
balType == BalanceType.public;
1225+
(showPrivateBalance ? balType == BalanceType.public : true);
12261226

12271227
final isExchangeAddress = ref.watch(pIsExchangeAddress);
12281228

lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_send.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
10521052
),
10531053
) &&
10541054
ref.watch(pWallets).getWallet(walletId) is CoinControlInterface &&
1055-
balType == BalanceType.public;
1055+
(showPrivateBalance ? balType == BalanceType.public : true);
10561056

10571057
return Column(
10581058
crossAxisAlignment: CrossAxisAlignment.start,

0 commit comments

Comments
 (0)