Add empty CoinJoin Profiles dialog
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/Create/ConfirmRecoveryWordsViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/Create/ConfirmRecoveryWordsViewModel.cs
@@ -8,6 +8,7 @@ using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
+using WalletWasabi.Fluent.ViewModels.CoinJoinProfiles;
using WalletWasabi.Fluent.ViewModels.Navigation;
namespace WalletWasabi.Fluent.ViewModels.AddWallet.Create;
@@ -57,7 +58,7 @@ public partial class ConfirmRecoveryWordsViewModel : RoutableViewModel
private void OnNext(KeyManager keyManager)
{
- Navigate().To(new AddedWalletPageViewModel(keyManager));
+ Navigate().To(new CoinJoinProfilesViewModel(keyManager));
}
private void OnCancel()

ADD
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfilesViewModel.cs
+using ReactiveUI;
+using System.Reactive.Disposables;
+using WalletWasabi.Blockchain.Keys;
+using WalletWasabi.Fluent.ViewModels.AddWallet;
+using WalletWasabi.Fluent.ViewModels.Navigation;
+
+namespace WalletWasabi.Fluent.ViewModels.CoinJoinProfiles;
+
+[NavigationMetaData(Title = "CoinJoin Profiles")]
+public partial class CoinJoinProfilesViewModel : RoutableViewModel
+{
+ public CoinJoinProfilesViewModel(KeyManager keyManager)
+ {
+ NextCommand = ReactiveCommand.Create(() => OnNext(keyManager));
+ EnableBack = true;
+ }
+
+ private void OnNext(KeyManager keyManager)
+ {
+ Navigate().To(new AddedWalletPageViewModel(keyManager));
+ }
+
+ protected override void OnNavigatedTo(bool isInHistory, CompositeDisposable disposables)
+ {
+ base.OnNavigatedTo(isInHistory, disposables);
+
+ var enableCancel = Services.WalletManager.HasWallet();
+ SetupCancel(enableCancel: false, enableCancelOnEscape: enableCancel, enableCancelOnPressed: false);
+ }
+}

ADD
WalletWasabi.Fluent/Views/CoinJoinProfiles/CoinJoinProfilesView.axaml
+<UserControl xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:vm="using:WalletWasabi.Fluent.ViewModels.CoinJoinProfiles"
+ xmlns:c="using:WalletWasabi.Fluent.Controls"
+ xmlns:conv="using:WalletWasabi.Fluent.Converters"
+ mc:Ignorable="d" d:DesignWidth="428" d:DesignHeight="371"
+ x:DataType="vm:CoinJoinProfilesViewModel"
+ x:CompileBindings="True"
+ x:Class="WalletWasabi.Fluent.Views.CoinJoinProfiles.CoinJoinProfilesView">
+ <c:ContentArea Title="{Binding Title}"
+ EnableCancel="{Binding EnableCancel}"
+ EnableBack="{Binding EnableBack}"
+ NextContent="Continue" EnableNext="True"
+ ScrollViewer.VerticalScrollBarVisibility="Disabled">
+ </c:ContentArea>
+</UserControl>

ADD
WalletWasabi.Fluent/Views/CoinJoinProfiles/CoinJoinProfilesView.axaml.cs
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.CoinJoinProfiles;
+
+public class CoinJoinProfilesView : UserControl
+{
+ public CoinJoinProfilesView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+}

Add empty CoinJoin Profiles dialog