mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
reset coin control selected utxos on desktop
This commit is contained in:
parent
671e632402
commit
8430cc92bd
1 changed files with 5 additions and 1 deletions
|
@ -48,6 +48,7 @@ import '../../../widgets/desktop/desktop_app_bar.dart';
|
|||
import '../../../widgets/desktop/desktop_scaffold.dart';
|
||||
import '../../../widgets/hover_text_field.dart';
|
||||
import '../../../widgets/rounded_white_container.dart';
|
||||
import '../../coin_control/desktop_coin_control_use_dialog.dart';
|
||||
import 'sub_widgets/desktop_wallet_features.dart';
|
||||
import 'sub_widgets/desktop_wallet_summary.dart';
|
||||
import 'sub_widgets/my_wallet.dart';
|
||||
|
@ -134,7 +135,10 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
|
|||
widget.eventBus != null ? widget.eventBus! : GlobalEventBus.instance;
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback(
|
||||
(_) => ref.read(currentWalletIdProvider.notifier).state = wallet.walletId,
|
||||
(_) {
|
||||
ref.read(currentWalletIdProvider.notifier).state = wallet.walletId;
|
||||
ref.read(desktopUseUTXOs.notifier).state = {};
|
||||
},
|
||||
);
|
||||
|
||||
if (!wallet.shouldAutoSync) {
|
||||
|
|
Loading…
Reference in a new issue