add viewmodel anchors
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -44,7 +44,9 @@ namespace WalletWasabi.Fluent.ViewModels
var addWalletPage = new AddWalletPageViewModel(navigationState, global.LegalDocuments, global.WalletManager, global.BitcoinStore, global.Network);
- _navBar = new NavBarViewModel(navigationState, Router, walletManager, addWalletPage);
+ var aboutPage = new AboutViewModel(navigationState);
+
+ _navBar = new NavBarViewModel(navigationState, Router, walletManager, addWalletPage, aboutPage);
this.WhenAnyValue(x => x.DialogScreen!.IsDialogOpen)
.ObserveOn(RxApp.MainThreadScheduler)

MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
@@ -28,7 +28,8 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
private Action? _toggleAction;
private Action? _collapseOnClickAction;
- public NavBarViewModel(NavigationStateViewModel navigationState, RoutingState router, WalletManagerViewModel walletManager, AddWalletPageViewModel addWalletPage)
+ public NavBarViewModel(NavigationStateViewModel navigationState, RoutingState router,
+ WalletManagerViewModel walletManager, AddWalletPageViewModel addWalletPage, AboutViewModel aboutPage)
{
Router = router;
_walletManager = walletManager;
@@ -37,7 +38,7 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
var homePage = new HomePageViewModel(navigationState, walletManager, addWalletPage);
var settingsPage = new SettingsPageViewModel(navigationState);
- var searchPage = new SearchPageViewModel(navigationState, walletManager, addWalletPage, settingsPage, homePage);
+ var searchPage = new SearchPageViewModel(navigationState, walletManager, addWalletPage, settingsPage, aboutPage, homePage);
SelectedItem = homePage;

add viewmodel anchors