mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
ui error build state fix
This commit is contained in:
parent
a69b4f8ed5
commit
98338bdea2
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
|
|||
eventBus =
|
||||
widget.eventBus != null ? widget.eventBus! : GlobalEventBus.instance;
|
||||
|
||||
ref.read(currentWalletIdProvider.notifier).state = wallet.walletId;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) =>
|
||||
ref.read(currentWalletIdProvider.notifier).state = wallet.walletId);
|
||||
|
||||
if (!wallet.shouldAutoSync) {
|
||||
// enable auto sync if it wasn't enabled when loading wallet
|
||||
|
|
Loading…
Reference in a new issue