Rename views that aren't located by ViewLocator
RENAME
WalletWasabi.Fluent/Views/SearchBar/SearchBarView.axaml
WalletWasabi.Fluent/Views/SearchBar/SearchBar.axaml
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors"
x:CompileBindings="True"
x:DataType="searchBar:SearchBarViewModel"
- x:Class="WalletWasabi.Fluent.Views.SearchBar.SearchBarView">
+ x:Class="WalletWasabi.Fluent.Views.SearchBar.SearchBar">
<UserControl.Resources>
<Thickness x:Key="TextControlBorderThemeThicknessFocused">1</Thickness>
</UserControl.Resources>

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

MODIFY
WalletWasabi.Fluent/Views/Shell/MainScreen.axaml
WalletWasabi.Fluent/Views/Shell/MainScreen.axaml
</DockPanel>
<Border CornerRadius="10 0 0 0" BoxShadow="inset 0 0 5 0 #000000" ClipToBounds="True"
IsHitTestVisible="False" Margin="0 0 -5 -5" />
- <statusIcon:StatusIconView Margin="10" Foreground="{DynamicResource AcrylicTrimForeground}" DataContext="{Binding StatusIcon}" HorizontalAlignment="Right" VerticalAlignment="Bottom" />
+ <statusIcon:StatusIcon Margin="10" Foreground="{DynamicResource AcrylicTrimForeground}" DataContext="{Binding StatusIcon}" HorizontalAlignment="Right" VerticalAlignment="Bottom" />
</Panel>
</Border>
</DockPanel>

MODIFY
WalletWasabi.Fluent/Views/Shell/TitleBar.axaml
WalletWasabi.Fluent/Views/Shell/TitleBar.axaml
</DataTemplate>
<DataTemplate x:Key="SearchBar">
- <searchBar:SearchBarView DataContext="{Binding #UserControl.DataContext.SearchBar}" VerticalAlignment="Stretch"
+ <searchBar:SearchBar DataContext="{Binding #UserControl.DataContext.SearchBar}" VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
Margin="5" />
</DataTemplate>

RENAME
WalletWasabi.Fluent/Views/StatusIcon/StatusIconView.axaml
WalletWasabi.Fluent/Views/StatusIcon/StatusIcon.axaml
mc:Ignorable="d" d:DesignWidth="671" d:DesignHeight="32"
x:DataType="statusIcon:StatusIconViewModel"
x:CompileBindings="True"
- x:Class="WalletWasabi.Fluent.Views.StatusIcon.StatusIconView">
+ x:Class="WalletWasabi.Fluent.Views.StatusIcon.StatusIcon">
<UserControl.Styles>
<Style Selector="PathIcon">

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

Rename views that aren't located by ViewLocator