Add privacy settings tab.
ADD
WalletWasabi.Fluent/Views/Settings/PrivacySettingsView.xaml
+<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:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:DataType="settings:SettingsPageViewModel"
+ x:Class="WalletWasabi.Fluent.Views.Settings.PrivacySettingsView">
+ <StackPanel Spacing="20" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">
+ <StackPanel.Styles>
+ <Style Selector="Slider">
+ <Setter Property="IsSnapToTickEnabled" Value="True" />
+ <Setter Property="TickFrequency" Value="1" />
+ </Style>
+ </StackPanel.Styles>
+
+ <TextBlock Text="Anonymity Levels" FontSize="20" />
+ <StackPanel>
+ <TextBlock Text="Minimal" />
+ <DockPanel>
+ <TextBlock Text="2" DockPanel.Dock="Left" VerticalAlignment="Center" />
+ <TextBlock Text="100" DockPanel.Dock="Right" VerticalAlignment="Center" />
+ <Slider Minimum="2" Maximum="98" Value="{Binding SomePrivacyLevel}" Margin="10 0" />
+ </DockPanel>
+ <TextBlock Text="{Binding SomePrivacyLevel}" />
+ </StackPanel>
+
+ <StackPanel>
+ <TextBlock Text="Medium" />
+ <DockPanel>
+ <TextBlock Text="2" DockPanel.Dock="Left" VerticalAlignment="Center" />
+ <TextBlock Text="100" DockPanel.Dock="Right" VerticalAlignment="Center" />
+ <Slider Minimum="3" Maximum="99" Value="{Binding FinePrivacyLevel}" Margin="10 0" />
+ </DockPanel>
+ <TextBlock Text="{Binding FinePrivacyLevel}" />
+ </StackPanel>
+
+ <StackPanel>
+ <TextBlock Text="Strong" />
+ <DockPanel>
+ <TextBlock Text="2" DockPanel.Dock="Left" VerticalAlignment="Center" />
+ <TextBlock Text="100" DockPanel.Dock="Right" VerticalAlignment="Center" />
+ <Slider Minimum="4" Value="{Binding StrongPrivacyLevel}" Margin="10 0" />
+ </DockPanel>
+ <TextBlock Text="{Binding StrongPrivacyLevel}" />
+ </StackPanel>
+
+ </StackPanel>
+</UserControl>
\ No newline at end of file

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

MODIFY
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
</TabItem>
<TabItem Header="Privacy">
- <StackPanel Orientation="Vertical" Spacing="5">
- <Grid Margin="0 10" ColumnDefinitions="30, *">
- <DrawingPresenter Height="24" Width="24" Grid.Column="0" Margin="0 0 10 10" VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource PrivacySome}" />
- <TextBox Text="{Binding SomePrivacyLevel}" Grid.Column="1" />
- </Grid>
- <Grid Margin="0 10" ColumnDefinitions="30, *">
- <DrawingPresenter Height="24" Width="24" Grid.Column="0" Margin="0 0 10 10" VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource PrivacyFine}" />
- <TextBox Text="{Binding FinePrivacyLevel}" Grid.Column="1" />
- </Grid>
- <Grid Margin="0 10" ColumnDefinitions="30, *">
- <DrawingPresenter Height="24" Width="24" Grid.Column="0" Margin="0 0 10 10" VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource PrivacyStrong}" />
- <TextBox Text="{Binding StrongPrivacyLevel}" Grid.Column="1" />
- </Grid>
- </StackPanel>
+ <v:PrivacySettingsView />
</TabItem>
<TabItem Header="Network">
</StackPanel>
</TabItem>
- <TabItem Header="Node">
+ <TabItem Header="Bitcoin">
<StackPanel Orientation="Vertical" Spacing="5">
<StackPanel Margin="0 10" Spacing="5">
<TextBlock Text="Network" />

Add privacy settings tab.