use Add Wallet screen to navigate to recover wallet screen.
MODIFY
WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs
using System.Reactive.Linq;
using ReactiveUI;
using System;
+using System.Windows.Input;
namespace WalletWasabi.Fluent.ViewModels
{
@@ -16,6 +17,8 @@ namespace WalletWasabi.Fluent.ViewModels
this.WhenAnyValue(x => x.WalletName)
.Select(x => !string.IsNullOrWhiteSpace(x))
.Subscribe(x => OptionsEnabled = x);
+
+ RecoverWalletCommand = ReactiveCommand.Create(() => screen.Router.Navigate.Execute(new RecoveryPageViewModel(screen)));
}
public override string IconName => "add_circle_regular";
@@ -31,5 +34,7 @@ namespace WalletWasabi.Fluent.ViewModels
get => _optionsEnabled;
set => this.RaiseAndSetIfChanged(ref _optionsEnabled, value);
}
+
+ public ICommand RecoverWalletCommand { get; }
}
}

MODIFY
WalletWasabi.Fluent/ViewModels/NavBarViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBarViewModel.cs
@@ -35,7 +35,6 @@ namespace WalletWasabi.Fluent.ViewModels
var addWalletPage = new AddWalletPageViewModel(screen);
SelectedItem = new HomePageViewModel(screen, walletManager, addWalletPage);
_topItems.Add(_selectedItem);
- _topItems.Add(new RecoveryPageViewModel(screen));
_bottomItems.Add(addWalletPage);
_bottomItems.Add(new SettingsPageViewModel(screen));

use Add Wallet screen to navigate to recover wallet screen.