Open WalletManager as initial page
MODIFY
WalletWasabi.Gui/MainWindow.xaml.cs
WalletWasabi.Gui/MainWindow.xaml.cs
+using System;
using Avalonia;
using Avalonia.Markup.Xaml;
+using AvalonStudio.Extensibility;
+using AvalonStudio.Shell;
using AvalonStudio.Shell.Controls;
+using WalletWasabi.Gui.Tabs.WalletManager;
namespace WalletWasabi.Gui
{
@@ -15,7 +19,14 @@ namespace WalletWasabi.Gui
private void InitializeComponent()
{
+ Activated += OnActivated;
AvaloniaXamlLoader.Load(this);
}
+
+ void OnActivated(object sender, EventArgs e)
+ {
+ Activated -= OnActivated;
+ IoC.Get<IShell>().AddOrSelectDocument<WalletManagerViewModel>(new WalletManagerViewModel());
+ }
}
}

Open WalletManager as initial page