Local knots version, alignment
MODIFY
WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs
-using System;
-using System.Net;
-using System.Reactive;
-using System.Reactive.Linq;
-using Avalonia.Threading;
-using NBitcoin;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Gui;
-using WalletWasabi.Helpers;
-using WalletWasabi.Logging;
-using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Settings
{

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/SettingsViewModelBase.cs
WalletWasabi.Fluent/ViewModels/Settings/SettingsViewModelBase.cs
@@ -21,7 +21,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
public Timer SaveTimer { get; }
- private static object ConfigLock { get; } = new object();
+ private static object ConfigLock { get; } = new();
protected void RequestSave()
{

MODIFY
WalletWasabi.Fluent/Views/Settings/BitcoinSettingsView.xaml
WalletWasabi.Fluent/Views/Settings/BitcoinSettingsView.xaml
<Setter Property="(DockPanel.Dock)" Value="Left" />
</Style>
<Style Selector="DockPanel > ToggleSwitch">
+ <Setter Property="Margin" Value="0 0 -12 0" />
<Setter Property="HorizontalAlignment" Value="Right" />
<Setter Property="OnContent" Value="{x:Null}" />
<Setter Property="OffContent" Value="{x:Null}" />
</Style>
+ <Style Selector="DockPanel > Label">
+ <Setter Property="HorizontalAlignment" Value="Right" />
+ </Style>
</StackPanel.Styles>
<StackPanel Spacing="10">
<TextBox Text="{Binding LocalBitcoinCoreDataDir}" />
</StackPanel>
+ <DockPanel>
+ <TextBlock VerticalAlignment="Center" Text= "Local Bitcoin Core/Knots version" />
+ <Label Content="{Binding BitcoinCoreVersion}" />
+ </DockPanel>
+
<DockPanel IsVisible="{Binding StartLocalBitcoinCoreOnStartup}">
<TextBlock Text= "Stop Bitcoin Knots on shutdown" />
<ToggleSwitch IsChecked="{Binding StopLocalBitcoinCoreOnShutdown}" />

MODIFY
WalletWasabi.Fluent/Views/Settings/GeneralSettingsView.xaml
WalletWasabi.Fluent/Views/Settings/GeneralSettingsView.xaml
<Setter Property="(DockPanel.Dock)" Value="Left" />
</Style>
<Style Selector="DockPanel > ToggleSwitch">
+ <Setter Property="Margin" Value="0 0 -12 0" />
<Setter Property="HorizontalAlignment" Value="Right" />
<Setter Property="OnContent" Value="{x:Null}" />
<Setter Property="OffContent" Value="{x:Null}" />

MODIFY
WalletWasabi.Fluent/Views/Settings/NetworkSettingsView.xaml
WalletWasabi.Fluent/Views/Settings/NetworkSettingsView.xaml
<Setter Property="(DockPanel.Dock)" Value="Left" />
</Style>
<Style Selector="DockPanel > ToggleSwitch">
+ <Setter Property="Margin" Value="0 0 -12 0" />
<Setter Property="HorizontalAlignment" Value="Right" />
<Setter Property="OnContent" Value="{x:Null}" />
<Setter Property="OffContent" Value="{x:Null}" />

Local knots version, alignment