move navigation clear to finally block
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/RecoverWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/RecoverWalletViewModel.cs
@@ -113,7 +113,6 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
walletManager.AddWallet(keyManager);
});
- ClearNavigation(NavigationTarget.DialogScreen);
}
}
catch (Exception ex)
@@ -122,6 +121,7 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
}
finally
{
+ ClearNavigation(NavigationTarget.DialogScreen);
IsBusy = false;
}
}

move navigation clear to finally block