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

MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
@@ -10,6 +10,7 @@ using WalletWasabi.Fluent.ViewModels.Search;
using WalletWasabi.Fluent.ViewModels.Settings;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Fluent.ViewModels.Wallets;
+using WalletWasabi.Gui;
namespace WalletWasabi.Fluent.ViewModels.NavBar
{
@@ -28,7 +29,7 @@ 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, Global global)
{
Router = router;
_walletManager = walletManager;
@@ -38,12 +39,14 @@ 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 privacyMode = new PrivacyModeViewModel(navigationState, global);
SelectedItem = homePage;
_topItems.Add(SelectedItem);
_bottomItems.Add(searchPage);
_bottomItems.Add(settingsPage);
+ _bottomItems.Add(privacyMode);
_bottomItems.Add(addWalletPage);
Router.CurrentViewModel

Added PrivacyModeViewModel