fix program.cs
MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -4,10 +4,8 @@ using Avalonia.Threading;
using AvalonStudio.Shell;
using AvalonStudio.Shell.Extensibility.Platforms;
using NBitcoin;
-using ReactiveUI;
using System;
using System.IO;
-using System.Reactive.Concurrency;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Gui.CommandLine;
@@ -60,9 +58,8 @@ namespace WalletWasabi.Gui
{
MainWindowViewModel.Instance.Title += $" - {Global.Network}";
}
-
Dispatcher.UIThread.Post(GC.Collect);
- });
+ }).StartShellApp<AppBuilder, MainWindow>("Wasabi Wallet", null, () => MainWindowViewModel.Instance);
}
catch (Exception ex)
{

fix program.cs