working hardware wallet home screen.
RENAME
WalletWasabi.Fluent/ViewModels/Wallets/HardwareWallet/ClosedHardwareWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/ClosedHardwareWalletViewModel.cs
using WalletWasabi.Wallets;
-namespace WalletWasabi.Fluent.ViewModels.Wallets.HardwareWallet
+namespace WalletWasabi.Fluent.ViewModels.Wallets
{
public class ClosedHardwareWalletViewModel : ClosedWalletViewModel
{

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/ClosedWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/ClosedWalletViewModel.cs
@@ -7,8 +7,6 @@ using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.ViewModels.Login;
using WalletWasabi.Fluent.ViewModels.Navigation;
-using WalletWasabi.Fluent.ViewModels.Wallets.HardwareWallet;
-using WalletWasabi.Fluent.ViewModels.Wallets.WatchOnlyWallet;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels.Wallets

RENAME
WalletWasabi.Fluent/ViewModels/Wallets/WatchOnlyWallet/ClosedWatchOnlyWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/ClosedWatchOnlyWalletViewModel.cs
using WalletWasabi.Wallets;
-namespace WalletWasabi.Fluent.ViewModels.Wallets.WatchOnlyWallet
+namespace WalletWasabi.Fluent.ViewModels.Wallets
{
public class ClosedWatchOnlyWalletViewModel : ClosedWalletViewModel
{

RENAME
WalletWasabi.Fluent/ViewModels/Wallets/HardwareWallet/HardwareWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/HardwareWalletViewModel.cs
using WalletWasabi.Wallets;
-namespace WalletWasabi.Fluent.ViewModels.Wallets.HardwareWallet
+namespace WalletWasabi.Fluent.ViewModels.Wallets
{
public class HardwareWalletViewModel : WalletViewModel
{

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
@@ -9,12 +9,12 @@ using System.Threading.Tasks;
using NBitcoin;
using WalletWasabi.Fluent.ViewModels.Navigation;
using System.Windows.Input;
-using WalletWasabi.Fluent.ViewModels.Wallets.HardwareWallet;
+using WalletWasabi.Blockchain.TransactionBroadcasting;
using WalletWasabi.Fluent.ViewModels.Wallets.Home.History;
using WalletWasabi.Fluent.ViewModels.Wallets.Home.Tiles;
using WalletWasabi.Fluent.ViewModels.Wallets.Receive;
using WalletWasabi.Fluent.ViewModels.Wallets.Send;
-using WalletWasabi.Fluent.ViewModels.Wallets.WatchOnlyWallet;
+using WalletWasabi.Gui;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels.Wallets

RENAME
WalletWasabi.Fluent/ViewModels/Wallets/WatchOnlyWallet/WatchOnlyWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WatchOnlyWalletViewModel.cs
+using WalletWasabi.Blockchain.TransactionBroadcasting;
+using WalletWasabi.Gui;
using WalletWasabi.Wallets;
-namespace WalletWasabi.Fluent.ViewModels.Wallets.WatchOnlyWallet
+namespace WalletWasabi.Fluent.ViewModels.Wallets
{
public class WatchOnlyWalletViewModel : WalletViewModel
{

RENAME
WalletWasabi.Fluent/Views/Wallets/HardwareWallet/ClosedHardwareWalletView.axaml
WalletWasabi.Fluent/Views/Wallets/ClosedHardwareWalletView.axaml
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:hardwareWallet="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.HardwareWallet"
xmlns:local="using:WalletWasabi.Fluent.Views.Wallets"
+ xmlns:wallets="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets"
mc:Ignorable="d" d:DesignWidth="428" d:DesignHeight="371"
- x:DataType="hardwareWallet:ClosedHardwareWalletViewModel"
+ x:DataType="wallets:ClosedHardwareWalletViewModel"
x:CompileBindings="True"
- x:Class="WalletWasabi.Fluent.Views.Wallets.HardwareWallet.ClosedHardwareWalletView">
+ x:Class="WalletWasabi.Fluent.Views.Wallets.ClosedHardwareWalletView">
<local:LoadingControl DataContext="{Binding Loading}" />
</UserControl>

RENAME
WalletWasabi.Fluent/Views/Wallets/HardwareWallet/ClosedHardwareWalletView.axaml.cs
WalletWasabi.Fluent/Views/Wallets/ClosedHardwareWalletView.axaml.cs
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
-namespace WalletWasabi.Fluent.Views.Wallets.HardwareWallet
+namespace WalletWasabi.Fluent.Views.Wallets
{
public class ClosedHardwareWalletView : UserControl
{

ADD
WalletWasabi.Fluent/Views/Wallets/HardwareWalletView.axaml
+<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:local="using:WalletWasabi.Fluent.Views.Wallets"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:Class="WalletWasabi.Fluent.Views.Wallets.HardwareWalletView">
+ <local:WalletView />
+</UserControl>

ADD
WalletWasabi.Fluent/Views/Wallets/HardwareWalletView.axaml.cs
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.Wallets
+{
+ public class HardwareWalletView : UserControl
+ {
+ public HardwareWalletView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+ }
+}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
</StackPanel>
<TextBlock TextWrapping="NoWrap" TextTrimming="CharacterEllipsis" Text="{Binding WalletName, FallbackValue=My Wallet with a very long name}" />
</DockPanel>
- <Separator DockPanel.Dock="Bottom" Margin="-200 13 -200 0" HorizontalAlignment="Stretch" Foreground="Red" />
+ <Separator DockPanel.Dock="Bottom" Margin="-200 13 -200 0" HorizontalAlignment="Stretch" />
</StackPanel>
</c:ContentArea.Title>

working hardware wallet home screen.