Add privacy level icons.
MODIFY
WalletWasabi.Fluent.Desktop/WalletWasabi.Fluent.Desktop.csproj
WalletWasabi.Fluent.Desktop/WalletWasabi.Fluent.Desktop.csproj
<AvaloniaResource Include="Assets\**" />
</ItemGroup>
<ItemGroup>
- <PackageReference Include="Avalonia.Desktop" Version="0.10.999-cibuild0012042-beta" />
- <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.999-cibuild0012042-beta" />
+ <PackageReference Include="Avalonia.Desktop" Version="0.10.999-cibuild0012072-beta" />
+ <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.999-cibuild0012072-beta" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WalletWasabi.Fluent\WalletWasabi.Fluent.csproj" />

MODIFY
WalletWasabi.Fluent/Icons/Icons.xaml
WalletWasabi.Fluent/Icons/Icons.xaml
<StreamGeometry x:Key="warning_regular">M10.9093922,2.78216375 C11.9491636,2.20625071 13.2471955,2.54089334 13.8850247,3.52240345 L13.9678229,3.66023048 L21.7267791,17.6684928 C21.9115773,18.0021332 22.0085303,18.3772743 22.0085303,18.7586748 C22.0085303,19.9495388 21.0833687,20.9243197 19.9125791,21.003484 L19.7585303,21.0086748 L4.24277801,21.0086748 C3.86146742,21.0086748 3.48641186,20.9117674 3.15282824,20.7270522 C2.11298886,20.1512618 1.7079483,18.8734454 2.20150311,17.8120352 L2.27440063,17.668725 L10.0311968,3.66046274 C10.2357246,3.291099 10.5400526,2.98673515 10.9093922,2.78216375 Z M20.4146132,18.3952808 L12.6556571,4.3870185 C12.4549601,4.02467391 11.9985248,3.89363262 11.6361802,4.09432959 C11.5438453,4.14547244 11.4637001,4.21532637 11.4006367,4.29899869 L11.3434484,4.38709592 L3.58665221,18.3953582 C3.385998,18.7577265 3.51709315,19.2141464 3.87946142,19.4148006 C3.96285732,19.4609794 4.05402922,19.4906942 4.14802472,19.5026655 L4.24277801,19.5086748 L19.7585303,19.5086748 C20.1727439,19.5086748 20.5085303,19.1728883 20.5085303,18.7586748 C20.5085303,18.6633247 20.4903516,18.5691482 20.455275,18.4811011 L20.4146132,18.3952808 L12.6556571,4.3870185 L20.4146132,18.3952808 Z M12.0004478,16.0017852 C12.5519939,16.0017852 12.9991104,16.4489016 12.9991104,17.0004478 C12.9991104,17.5519939 12.5519939,17.9991104 12.0004478,17.9991104 C11.4489016,17.9991104 11.0017852,17.5519939 11.0017852,17.0004478 C11.0017852,16.4489016 11.4489016,16.0017852 12.0004478,16.0017852 Z M11.9962476,8.49954934 C12.3759432,8.49924613 12.689964,8.78114897 12.7399193,9.14718469 L12.7468472,9.24894974 L12.750448,13.7505438 C12.7507788,14.1647572 12.4152611,14.5008121 12.0010476,14.5011439 C11.621352,14.5014471 11.3073312,14.2195442 11.257376,13.8535085 L11.250448,13.7517435 L11.2468472,9.25014944 C11.2465164,8.83593601 11.5820341,8.49988112 11.9962476,8.49954934 Z</StreamGeometry>
<StreamGeometry x:Key="options_regular">M8.75 13.5C10.2862 13.5 11.5735 14.5658 11.9126 15.9983L21.25 16C21.6642 16 22 16.3358 22 16.75C22 17.1297 21.7178 17.4435 21.3518 17.4932L21.25 17.5L11.9129 17.5007C11.5741 18.9337 10.2866 20 8.75 20C7.21345 20 5.92594 18.9337 5.58712 17.5007L2.75 17.5C2.33579 17.5 2 17.1642 2 16.75C2 16.3703 2.28215 16.0565 2.64823 16.0068L2.75 16L5.58712 15.9993C5.92594 14.5663 7.21345 13.5 8.75 13.5ZM8.75 15C7.98586 15 7.33611 15.4898 7.09753 16.1725L7.07696 16.2352L7.03847 16.3834C7.01326 16.5016 7 16.6242 7 16.75C7 16.9048 7.02011 17.055 7.05785 17.1979L7.09766 17.3279L7.12335 17.3966C7.38055 18.0431 8.01191 18.5 8.75 18.5C9.51376 18.5 10.1632 18.0107 10.4021 17.3285L10.4422 17.1978L10.4251 17.2581C10.4738 17.0973 10.5 16.9267 10.5 16.75C10.5 16.6452 10.4908 16.5425 10.4731 16.4428L10.4431 16.3057L10.4231 16.2353L10.3763 16.1024C10.1188 15.4565 9.48771 15 8.75 15ZM15.25 4C16.7866 4 18.0741 5.06632 18.4129 6.49934L21.25 6.5C21.6642 6.5 22 6.83579 22 7.25C22 7.6297 21.7178 7.94349 21.3518 7.99315L21.25 8L18.4129 8.00066C18.0741 9.43368 16.7866 10.5 15.25 10.5C13.7134 10.5 12.4259 9.43368 12.0871 8.00066L2.75 8C2.33579 8 2 7.66421 2 7.25C2 6.8703 2.28215 6.55651 2.64823 6.50685L2.75 6.5L12.0874 6.49833C12.4265 5.06582 13.7138 4 15.25 4ZM15.25 5.5C14.4859 5.5 13.8361 5.98976 13.5975 6.6725L13.577 6.73515L13.5385 6.88337C13.5133 7.0016 13.5 7.12425 13.5 7.25C13.5 7.40483 13.5201 7.55497 13.5579 7.69794L13.5977 7.82787L13.6234 7.89664C13.8805 8.54307 14.5119 9 15.25 9C16.0138 9 16.6632 8.51073 16.9021 7.82852L16.9422 7.69781L16.9251 7.75808C16.9738 7.59729 17 7.4267 17 7.25C17 7.14518 16.9908 7.0425 16.9731 6.94275L16.9431 6.80565L16.9231 6.73529L16.8763 6.60236C16.6188 5.95647 15.9877 5.5 15.25 5.5Z</StreamGeometry>
+ <StreamGeometry x:Key="privacy_none">m 20.2942 20.5002 0.0975 -0.1085 c 0.4874 -0.4874 1.2574 -0.5199 1.7825 -0.0975 l 0.1086 0.0975 9.2172 9.218 9.2172 -9.218 c 0.5223 -0.5223 1.3689 -0.5223 1.8911 0 0.5223 0.5222 0.5223 1.3688 0 1.8911 l -9.218 9.2172 9.218 9.2172 c 0.4874 0.4874 0.5199 1.2575 0.0975 1.7826 l -0.0975 0.1085 c -0.4874 0.4874 -1.2574 0.5199 -1.7825 0.0975 l -0.1086 -0.0975 -9.2172 -9.218 -9.2172 9.218 c -0.5223 0.5223 -1.3689 0.5223 -1.8911 0 -0.5223 -0.5222 -0.5223 -1.3688 0 -1.8911 l 9.218 -9.2172 -9.218 -9.2172 c -0.4874 -0.4874 -0.5199 -1.2575 -0.0975 -1.7826 l 0.0975 -0.1085 z M 32 4 C 16.536 4 4 16.536 4 32 4 47.464 16.536 60 32 60 47.464 60 60 47.464 60 32 60 16.536 47.464 4 32 4 Z M 0 32 C 0 14.3269 14.3269 0 32 0 49.6731 0 64 14.3269 64 32 64 49.6731 49.6731 64 32 64 14.3269 64 0 49.6731 0 32 Z</StreamGeometry>
+ <StreamGeometry x:Key="privacy_minimal">m 31.6 49.2 c 1.9882 0 3.6 -1.6118 3.6 -3.6 0 -1.9882 -1.6118 -3.6 -3.6 -3.6 -1.9882 0 -3.6 1.6118 -3.6 3.6 0 1.9882 1.6118 3.6 3.6 3.6 z M 26.544922 14.5 c -2.232679 0 -3.928546 2.158829 -3.400391 4.328125 l 4.382813 18 C 27.907332 38.388653 29.3216 39.5 30.927734 39.5 h 1.642578 c 1.635641 0 3.067722 -1.152301 3.417969 -2.75 l 3.945313 -18 C 40.404917 16.599394 38.715288 14.5 36.513672 14.5 Z m 0 3 h 9.96875 c 0.352583 0 0.563758 0.263028 0.488281 0.607422 l -3.943359 18 C 33.006441 36.345323 32.813872 36.5 32.570312 36.5 h -1.642578 c -0.238466 0 -0.427963 -0.149188 -0.484375 -0.380859 l -4.382812 -18 C 25.975502 17.769836 26.185401 17.5 26.544922 17.5 Z M 32 0 C 14.350614 0 0 14.350614 0 32 0 49.649386 14.350614 64 32 64 49.649386 64 64 49.649386 64 32 64 14.350614 49.649386 0 32 0 Z m 0 4 C 47.487614 4 60 16.512386 60 32 60 47.487614 47.487614 60 32 60 16.512386 60 4 47.487614 4 32 4 16.512386 16.512386 4 32 4 Z</StreamGeometry>
+ <StreamGeometry x:Key="privacy_medium">m 31.6 49.2 c 1.9882 0 3.6 -1.6118 3.6 -3.6 0 -1.9882 -1.6118 -3.6 -3.6 -3.6 -1.9882 0 -3.6 1.6118 -3.6 3.6 0 1.9882 1.6118 3.6 3.6 3.6 z M 26.544922 14.5 c -2.232679 0 -3.928546 2.158829 -3.400391 4.328125 l 4.382813 18 C 27.907332 38.388653 29.3216 39.5 30.927734 39.5 h 1.642578 c 1.635641 0 3.067722 -1.152301 3.417969 -2.75 l 3.945313 -18 C 40.404917 16.599394 38.715288 14.5 36.513672 14.5 Z m 0 3 h 9.96875 c 0.352583 0 0.563758 0.263028 0.488281 0.607422 l -3.943359 18 C 33.006441 36.345323 32.813872 36.5 32.570312 36.5 h -1.642578 c -0.238466 0 -0.427963 -0.149188 -0.484375 -0.380859 l -4.382812 -18 C 25.975502 17.769836 26.185401 17.5 26.544922 17.5 Z M 32 0 C 14.350614 0 0 14.350614 0 32 0 49.649386 14.350614 64 32 64 49.649386 64 64 49.649386 64 32 64 14.350614 49.649386 0 32 0 Z m 0 4 C 47.487614 4 60 16.512386 60 32 60 47.487614 47.487614 60 32 60 16.512386 60 4 47.487614 4 32 4 16.512386 16.512386 4 32 4 Z</StreamGeometry>
+ <StreamGeometry x:Key="privacy_strong">m 46.044922 21.5 a 1.5 1.5 0 0 0 -1.105469 0.439453 L 27.492188 39.386719 19.060547 30.957031 a 1.5 1.5 0 0 0 -2.121094 0 1.5 1.5 0 0 0 0 2.121094 l 8.785156 8.783203 c 0.963791 0.963791 2.571366 0.963791 3.535157 0 L 47.060547 24.060547 a 1.5 1.5 0 0 0 0 -2.121094 A 1.5 1.5 0 0 0 46.044922 21.5 Z M 32 0 C 14.350614 0 0 14.350614 0 32 0 49.649386 14.350614 64 32 64 49.649386 64 64 49.649386 64 32 64 14.350614 49.649386 0 32 0 Z m 0 4 C 47.487614 4 60 16.512386 60 32 60 47.487614 47.487614 60 32 60 16.512386 60 4 47.487614 4 32 4 16.512386 16.512386 4 32 4 Z</StreamGeometry>
+ <StreamGeometry x:Key="privacy_extreme">m 17 22 c 0 -0.6627 0.5618 -1.2 1.2549 -1.2 4.4564 0 8.7976 -1.5096 13.051 -4.56 0.4462 -0.32 1.0597 -0.32 1.5059 0 4.2533 3.0504 8.5945 4.56 13.0509 4.56 0.6931 0 1.2549 0.5373 1.2549 1.2 v 8.4 c 0 8.0019 -4.9486 13.8812 -14.5988 17.5165 -0.2956 0.1113 -0.6243 0.1113 -0.9199 0 C 21.9486 44.2812 17 38.4019 17 30.4 Z m 2.5098 1.1647 V 30.4 c 0 6.8089 4.105 11.8063 12.549 15.107 8.4441 -3.3007 12.549 -8.2981 12.549 -15.107 v -7.2353 c -4.3124 -0.2433 -8.5012 -1.7434 -12.549 -4.4802 -4.0477 2.7368 -8.2366 4.2369 -12.549 4.4802 z M 32 0 C 14.350614 0 0 14.350614 0 32 0 49.649386 14.350614 64 32 64 49.649386 64 64 49.649386 64 32 64 14.350614 49.649386 0 32 0 Z m 0 4 C 47.487614 4 60 16.512386 60 32 60 47.487614 47.487614 60 32 60 16.512386 60 4 47.487614 4 32 4 16.512386 16.512386 4 32 4 Z</StreamGeometry>
<DrawingGroup x:Key="placeholder_graphics_legal">
<GeometryDrawing Brush="#FFEF261A"

MODIFY
WalletWasabi.Fluent/Views/Settings/PrivacySettingsView.xaml
WalletWasabi.Fluent/Views/Settings/PrivacySettingsView.xaml
x:DataType="settings:SettingsPageViewModel"
x:Class="WalletWasabi.Fluent.Views.Settings.PrivacySettingsView">
<StackPanel Spacing="20" MinWidth="360" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">
+ <StackPanel.Styles>
+ <Style Selector="PathIcon">
+ <Setter Property="Height" Value="32" />
+ <Setter Property="Width" Value="32" />
+ </Style>
+ </StackPanel.Styles>
<StackPanel.Styles>
<Style Selector="Slider">
<Setter Property="IsSnapToTickEnabled" Value="True" />
</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" />
+ <PathIcon ToolTip.Tip="Minimal" DockPanel.Dock="Left" Foreground="#E06868" Data="{StaticResource privacy_minimal}" />
+ <TextBlock DockPanel.Dock="Right" Text="{Binding MinimalPrivacyLevel}" VerticalAlignment="Center" />
<Slider Minimum="2" Maximum="98" Value="{Binding MinimalPrivacyLevel}" Margin="10 0" />
</DockPanel>
- <TextBlock Text="{Binding MinimalPrivacyLevel}" />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Medium" />
<DockPanel>
- <TextBlock Text="2" DockPanel.Dock="Left" VerticalAlignment="Center" />
- <TextBlock Text="100" DockPanel.Dock="Right" VerticalAlignment="Center" />
+ <PathIcon ToolTip.Tip="Medium" DockPanel.Dock="Left" Foreground="#DDA73E" Data="{StaticResource privacy_medium}" />
+ <TextBlock DockPanel.Dock="Right" Text="{Binding MediumPrivacyLevel}" VerticalAlignment="Center" />
<Slider Minimum="3" Maximum="99" Value="{Binding MediumPrivacyLevel}" Margin="10 0" />
</DockPanel>
- <TextBlock Text="{Binding MediumPrivacyLevel}" />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Strong" />
<DockPanel>
- <TextBlock Text="2" DockPanel.Dock="Left" VerticalAlignment="Center" />
- <TextBlock Text="100" DockPanel.Dock="Right" VerticalAlignment="Center" />
+ <PathIcon ToolTip.Tip="Strong" DockPanel.Dock="Left" Foreground="#72BD81" Data="{StaticResource privacy_strong}" />
+ <TextBlock DockPanel.Dock="Right" Text="{Binding StrongPrivacyLevel}" 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

MODIFY
WalletWasabi.Fluent/WalletWasabi.Fluent.csproj
WalletWasabi.Fluent/WalletWasabi.Fluent.csproj
<AvaloniaResource Include="Assets\**" />
</ItemGroup>
<ItemGroup>
- <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.999-cibuild0012042-beta" />
- <PackageReference Include="Avalonia.Diagnostics" Version="0.10.999-cibuild0012042-beta" />
+ <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.999-cibuild0012072-beta" />
+ <PackageReference Include="Avalonia.Diagnostics" Version="0.10.999-cibuild0012072-beta" />
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="0.10.0-preview6" />
<PackageReference Include="Avalonia.Xaml.Interactions.Custom" Version="0.10.0-preview6" />
<PackageReference Include="Avalonia.Xaml.Interactivity" Version="0.10.0-preview6" />

Add privacy level icons.