Rename settings tabs to match view models
RENAME
WalletWasabi.Fluent/Views/Settings/BitcoinSettingsView.xaml
WalletWasabi.Fluent/Views/Settings/BitcoinTabSettingsView.xaml
xmlns:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="settings:BitcoinTabSettingsViewModel"
- x:Class="WalletWasabi.Fluent.Views.Settings.BitCoinSettingsView"
+ x:Class="WalletWasabi.Fluent.Views.Settings.BitcoinTabSettingsView"
x:CompileBindings="True">
<StackPanel Spacing="20" MinWidth="360" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">
<StackPanel.Styles>

RENAME
WalletWasabi.Fluent/Views/Settings/NetworkSettingsView.xaml.cs
WalletWasabi.Fluent/Views/Settings/BitcoinTabSettingsView.xaml.cs
@@ -3,9 +3,9 @@ using Avalonia.Markup.Xaml;
namespace WalletWasabi.Fluent.Views.Settings
{
- public class NetworkSettingsView : UserControl
+ public class BitcoinTabSettingsView : UserControl
{
- public NetworkSettingsView()
+ public BitcoinTabSettingsView()
{
InitializeComponent();
}

RENAME
WalletWasabi.Fluent/Views/Settings/GeneralSettingsView.xaml
WalletWasabi.Fluent/Views/Settings/GeneralSettingsTabView.xaml
xmlns:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="WalletWasabi.Fluent.Views.Settings.GeneralSettingsView"
+ x:Class="WalletWasabi.Fluent.Views.Settings.GeneralSettingsTabView"
x:CompileBindings="True"
x:DataType="settings:GeneralSettingsTabViewModel">
<StackPanel Spacing="20" MinWidth="360" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">

RENAME
WalletWasabi.Fluent/Views/Settings/BitcoinSettingsView.xaml.cs
WalletWasabi.Fluent/Views/Settings/GeneralSettingsTabView.xaml.cs
@@ -3,9 +3,9 @@ using Avalonia.Markup.Xaml;
namespace WalletWasabi.Fluent.Views.Settings
{
- public class BitCoinSettingsView : UserControl
+ public class GeneralSettingsTabView : UserControl
{
- public BitCoinSettingsView()
+ public GeneralSettingsTabView()
{
InitializeComponent();
}

RENAME
WalletWasabi.Fluent/Views/Settings/NetworkSettingsView.xaml
WalletWasabi.Fluent/Views/Settings/NetworkSettingsTabView.xaml
xmlns:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="settings:NetworkSettingsTabViewModel"
- x:Class="WalletWasabi.Fluent.Views.Settings.NetworkSettingsView"
+ x:Class="WalletWasabi.Fluent.Views.Settings.NetworkSettingsTabView"
x:CompileBindings="True">
<StackPanel Spacing="20" MinWidth="360" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">
<StackPanel.Styles>

RENAME
WalletWasabi.Fluent/Views/Settings/PrivacySettingsView.xaml.cs
WalletWasabi.Fluent/Views/Settings/NetworkSettingsTabView.xaml.cs
@@ -3,9 +3,9 @@ using Avalonia.Markup.Xaml;
namespace WalletWasabi.Fluent.Views.Settings
{
- public class PrivacySettingsView : UserControl
+ public class NetworkSettingsTabView : UserControl
{
- public PrivacySettingsView()
+ public NetworkSettingsTabView()
{
InitializeComponent();
}

RENAME
WalletWasabi.Fluent/Views/Settings/PrivacySettingsView.xaml
WalletWasabi.Fluent/Views/Settings/PrivacySettingsTabView.xaml
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:Class="WalletWasabi.Fluent.Views.Settings.PrivacySettingsView"
+ x:Class="WalletWasabi.Fluent.Views.Settings.PrivacySettingsTabView"
x:DataType="settings:PrivacySettingsTabViewModel"
x:CompileBindings="True">
<StackPanel Spacing="20" MinWidth="360" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">

RENAME
WalletWasabi.Fluent/Views/Settings/GeneralSettingsView.xaml.cs
WalletWasabi.Fluent/Views/Settings/PrivacySettingsTabView.xaml.cs
@@ -3,9 +3,9 @@ using Avalonia.Markup.Xaml;
namespace WalletWasabi.Fluent.Views.Settings
{
- public class GeneralSettingsView : UserControl
+ public class PrivacySettingsTabView : UserControl
{
- public GeneralSettingsView()
+ public PrivacySettingsTabView()
{
InitializeComponent();
}

MODIFY
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
<TabControl SelectedIndex="{Binding SelectedTab, Mode=TwoWay}">
<TabItem Header="General">
- <v:GeneralSettingsView DataContext="{Binding GeneralSettingsTab}" />
+ <v:GeneralSettingsTabView DataContext="{Binding GeneralSettingsTab}" />
</TabItem>
<TabItem Header="Privacy">
- <v:PrivacySettingsView DataContext="{Binding PrivacySettingsTab}" />
+ <v:PrivacySettingsTabView DataContext="{Binding PrivacySettingsTab}" />
</TabItem>
<TabItem Header="Network">
- <v:NetworkSettingsView DataContext="{Binding NetworkSettingsTab}" />
+ <v:NetworkSettingsTabView DataContext="{Binding NetworkSettingsTab}" />
</TabItem>
<TabItem Header="Bitcoin">
- <v:BitCoinSettingsView DataContext="{Binding BitcoinTabSettings}" />
+ <v:BitcoinTabSettingsView DataContext="{Binding BitcoinTabSettings}" />
</TabItem>
</TabControl>
</DockPanel>

Rename settings tabs to match view models