make welcome background work until the first wallet has been created.
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/AddedWalletPageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/AddedWalletPageViewModel.cs
@@ -33,6 +33,8 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
private void OnNext()
{
+ Services.UiConfig.Oobe = false;
+
Navigate().Clear();
var navBar = NavigationManager.Get<NavBarViewModel>();

MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -86,6 +86,14 @@ namespace WalletWasabi.Fluent.ViewModels
var (dialogScreenIsOpen, fullScreenIsOpen, compactDialogScreenIsOpen) = tup;
IsMainContentEnabled = !(dialogScreenIsOpen || fullScreenIsOpen || compactDialogScreenIsOpen);
+
+ if (IsMainContentEnabled)
+ {
+ if (Services.WalletManager.HasWallet() && !Services.UiConfig.Oobe)
+ {
+ IsSetup = true;
+ }
+ }
});
this.WhenAnyValue(
@@ -138,9 +146,12 @@ namespace WalletWasabi.Fluent.ViewModels
await _dialogScreen.NavigateDialogAsync(new WelcomePageViewModel());
+ if (Services.WalletManager.HasWallet())
+ {
Services.UiConfig.Oobe = false;
IsSetup = true;
}
+ }
if (!Services.WalletManager.HasWallet())
{

make welcome background work until the first wallet has been created.