Remove wallet actions
The send and recieve actions will be added in
DELETE
WalletWasabi.Fluent/Converters/NavBarActionsOrientationConverter.cs
-using System;
-using System.Globalization;
-using Avalonia.Data.Converters;
-using Avalonia.Layout;
-
-namespace WalletWasabi.Fluent.Converters
-{
- public class NavBarActionsOrientationConverter : IValueConverter
- {
- public static readonly NavBarActionsOrientationConverter Instance = new();
-
- private NavBarActionsOrientationConverter()
- {
- }
-
- object? IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- if (value is bool hideItems)
- {
- return hideItems ? Orientation.Vertical : Orientation.Horizontal;
- }
-
- return null;
- }
-
- object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
-}
\ No newline at end of file

DELETE
WalletWasabi.Fluent/Converters/NavBarItemsListBoxAlignmentConverter.cs
-using System;
-using System.Globalization;
-using Avalonia.Data.Converters;
-using Avalonia.Layout;
-
-namespace WalletWasabi.Fluent.Converters
-{
- public class NavBarItemsListBoxAlignmentConverter : IValueConverter
- {
- public static readonly NavBarItemsListBoxAlignmentConverter Instance = new();
-
- private NavBarItemsListBoxAlignmentConverter()
- {
- }
-
- object? IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- if (value is int count)
- {
- return count == 0 ? VerticalAlignment.Stretch : VerticalAlignment.Bottom;
- }
-
- return null;
- }
-
- object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
-}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -114,9 +114,6 @@ namespace WalletWasabi.Fluent.ViewModels
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(x => IsMainContentEnabled = !x);
- _walletManagerViewModel.WhenAnyValue(x => x.Items.Count, x => x.Actions.Count)
- .Subscribe(x => _navBar.IsHidden = x.Item1 == 0 && x.Item2 == 0);
-
if (!_walletManagerViewModel.WalletManager.HasWallet())
{
_dialogScreen.To(_addWalletPage, NavigationMode.Clear);

MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
@@ -30,7 +30,6 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
[AutoNotify] private double _currentOpenPaneLength;
[AutoNotify] private double _currentCompactPaneLength;
[AutoNotify] private bool _isHidden;
- [AutoNotify(SetterModifier = AccessModifier.Private)] private bool _hideItems;
public NavBarViewModel(TargettedNavigationStack mainScreen, WalletManagerViewModel walletManager, UiConfig uiConfig)
{
@@ -88,9 +87,6 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
CurrentOpenPaneLength = x ? 0 : NormalOpenPaneLength;
});
- this.WhenAnyValue(x => x.IsOpen, x => x.Actions.Count)
- .Subscribe(x => HideItems = !x.Item1 && x.Item2 > 0);
-
_walletManager.WhenAnyValue(x => x.SelectedWallet)
.OfType<NavBarItemViewModel>()
.Subscribe(x =>
@@ -102,10 +98,6 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
});
}
- public ObservableCollection<NavBarItemViewModel> Actions => _walletManager.Actions;
-
- public ObservableCollection<NavBarItemViewModel> SelectedWallets => _walletManager.SelectedWallets;
-
public ReadOnlyObservableCollection<NavBarItemViewModel> Items => _walletManager.Items;
public ObservableCollection<WalletViewModelBase> Wallets => _walletManager.Wallets;

MODIFY
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
@@ -11,7 +11,6 @@ using ReactiveUI;
using WalletWasabi.Blockchain.TransactionBroadcasting;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Wallets;
-using WalletWasabi.Fluent.ViewModels.Wallets.Actions;
using WalletWasabi.Fluent.ViewModels.Wallets.Receive;
using WalletWasabi.Fluent.ViewModels.Wallets.Send;
using WalletWasabi.Gui;
@@ -26,7 +25,6 @@ namespace WalletWasabi.Fluent.ViewModels
public partial class WalletManagerViewModel : ViewModelBase
{
private readonly Dictionary<Wallet, WalletViewModelBase> _walletDictionary;
- private readonly Dictionary<WalletViewModelBase, List<NavBarItemViewModel>> _walletActionsDictionary;
private readonly ReadOnlyObservableCollection<NavBarItemViewModel> _items;
private readonly Config _config;
private readonly UiConfig _uiConfig;
@@ -36,8 +34,6 @@ namespace WalletWasabi.Fluent.ViewModels
[AutoNotify] private WalletViewModelBase? _selectedWallet;
[AutoNotify(SetterModifier = AccessModifier.Private)] private bool _isLoadingWallet;
[AutoNotify] private bool _loggedInAndSelectedAlwaysFirst;
- [AutoNotify] private ObservableCollection<NavBarItemViewModel> _actions;
- [AutoNotify] private ObservableCollection<NavBarItemViewModel> _selectedWallets;
[AutoNotify] private ObservableCollection<WalletViewModelBase> _wallets;
[AutoNotify] private bool _anyWalletStarted;
@@ -48,9 +44,6 @@ namespace WalletWasabi.Fluent.ViewModels
BitcoinStore = bitcoinStore;
LegalChecker = legalChecker;
_walletDictionary = new Dictionary<Wallet, WalletViewModelBase>();
- _walletActionsDictionary = new Dictionary<WalletViewModelBase, List<NavBarItemViewModel>>();
- _actions = new ObservableCollection<NavBarItemViewModel>();
- _selectedWallets = new ObservableCollection<NavBarItemViewModel>();
_wallets = new ObservableCollection<WalletViewModelBase>();
_loggedInAndSelectedAlwaysFirst = true;
_config = config;
@@ -153,15 +146,8 @@ namespace WalletWasabi.Fluent.ViewModels
var walletViewModelItem = OpenWallet(uiConfig, closedWalletViewModel.Wallet);
- if (!_walletActionsDictionary.TryGetValue(walletViewModelItem, out var actions))
- {
- actions = GetWalletActions(walletViewModelItem);
- _walletActionsDictionary[walletViewModelItem] = actions;
- }
-
if (_currentSelection == closedWalletViewModel)
{
- InsertActions(walletViewModelItem, actions);
SelectedWallet = walletViewModelItem;
}
@@ -187,28 +173,12 @@ namespace WalletWasabi.Fluent.ViewModels
private void InsertWallet(WalletViewModelBase wallet)
{
_wallets.InsertSorted(wallet);
-
_walletDictionary.Add(wallet.Wallet, wallet);
}
private void RemoveWallet(WalletViewModelBase walletViewModel)
{
- var isLoggedIn = walletViewModel.Wallet.IsLoggedIn;
-
_wallets.Remove(walletViewModel);
-
- if (isLoggedIn)
- {
- if (_walletActionsDictionary.ContainsKey(walletViewModel))
- {
- var actions = _walletActionsDictionary[walletViewModel];
-
- RemoveActions(walletViewModel, actions, true);
-
- _walletActionsDictionary.Remove(walletViewModel);
- }
- }
-
_walletDictionary.Remove(walletViewModel.Wallet);
}
@@ -234,76 +204,22 @@ namespace WalletWasabi.Fluent.ViewModels
var result = default(NavBarItemViewModel);
- if (SelectedWallet is { IsLoggedIn: true } walletViewModelPrevious && (item is WalletViewModelBase && SelectedWallet != item))
+ if (SelectedWallet is { IsLoggedIn: true } && (item is WalletViewModelBase && SelectedWallet != item))
{
if (/*item is not WalletActionViewModel &&*/ SelectedWallet != item)
{
- var actions = _walletActionsDictionary[walletViewModelPrevious];
-
- RemoveActions(walletViewModelPrevious, actions);
-
SelectedWallet = null;
-
result = item;
}
}
if (item is WalletViewModel { IsLoggedIn: true } walletViewModelItem)
{
- if (!_walletActionsDictionary.TryGetValue(walletViewModelItem, out var actions))
- {
- actions = GetWalletActions(walletViewModelItem);
- _walletActionsDictionary[walletViewModelItem] = actions;
- }
-
- InsertActions(walletViewModelItem, actions);
-
SelectedWallet = walletViewModelItem;
-
result = item;
}
return result;
}
-
- private List<NavBarItemViewModel> GetWalletActions(WalletViewModel walletViewModel)
- {
- var wallet = walletViewModel.Wallet;
- var actions = new List<NavBarItemViewModel>();
-
- if (wallet.KeyManager.IsHardwareWallet || !wallet.KeyManager.IsWatchOnly)
- {
- actions.Add(new SendViewModel(walletViewModel, _transactionBroadcaster, _config, _uiConfig, _externalHttpClientFactory));
- }
-
- actions.Add(new ReceiveViewModel(walletViewModel, WalletManager, BitcoinStore, _uiConfig));
-
- if (!wallet.KeyManager.IsWatchOnly)
- {
- actions.Add(new CoinJoinWalletActionViewModel(walletViewModel));
- }
-
- actions.Add(new AdvancedWalletActionViewModel(walletViewModel));
-
- return actions;
- }
-
- private void InsertActions(WalletViewModelBase walletViewModel, IEnumerable<NavBarItemViewModel> actions)
- {
- // _actions.AddRange(actions.ToList().Prepend(walletViewModel));
- _actions.AddRange(actions.ToList());
- // TODO: _selectedWallets.Add(walletViewModel);
- }
-
- private void RemoveActions(WalletViewModelBase walletViewModel, IEnumerable<NavBarItemViewModel> actions, bool dispose = false)
- {
- _actions.Clear();
- // TODO: _selectedWallets.Clear();
-
- if (dispose)
- {
- _walletActionsDictionary.Remove(walletViewModel);
- }
- }
}
}

DELETE
WalletWasabi.Fluent/ViewModels/Wallets/Actions/AdvancedWalletActionViewModel.cs
-using WalletWasabi.Fluent.ViewModels.NavBar;
-using WalletWasabi.Fluent.ViewModels.Navigation;
-
-namespace WalletWasabi.Fluent.ViewModels.Wallets.Actions
-{
- [NavigationMetaData(
- Title = "Advanced",
- Caption = "",
- IconName = "wallet_action_advanced",
- NavBarPosition = NavBarPosition.None,
- Searchable = false,
- NavigationTarget = NavigationTarget.HomeScreen)]
- public partial class AdvancedWalletActionViewModel : NavBarItemViewModel
- {
- public AdvancedWalletActionViewModel(WalletViewModelBase wallet) : base(NavigationMode.Normal)
- {
- Title = "Advanced";
-
- SelectionMode = NavBarItemSelectionMode.Selected;
- }
- }
-}
\ No newline at end of file

DELETE
WalletWasabi.Fluent/ViewModels/Wallets/Actions/CoinJoinWalletActionViewModel.cs
-using WalletWasabi.Fluent.ViewModels.NavBar;
-using WalletWasabi.Fluent.ViewModels.Navigation;
-
-namespace WalletWasabi.Fluent.ViewModels.Wallets.Actions
-{
- [NavigationMetaData(
- Title = "CoinJoin",
- Caption = "",
- IconName = "wallet_action_coinjoin",
- NavBarPosition = NavBarPosition.None,
- Searchable = false,
- NavigationTarget = NavigationTarget.HomeScreen)]
- public partial class CoinJoinWalletActionViewModel : NavBarItemViewModel
- {
- public CoinJoinWalletActionViewModel(WalletViewModelBase wallet) : base(NavigationMode.Normal)
- {
- Title = "CoinJoin";
-
- SelectionMode = NavBarItemSelectionMode.Selected;
- }
- }
-}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
xmlns:conv="using:WalletWasabi.Fluent.Converters"
xmlns:vm="using:WalletWasabi.Fluent.ViewModels.NavBar"
xmlns:vmw="using:WalletWasabi.Fluent.ViewModels.Wallets"
- xmlns:vmwa="using:WalletWasabi.Fluent.ViewModels.Wallets.Actions"
x:DataType="vm:NavBarViewModel"
x:CompileBindings="True"
mc:Ignorable="d" d:DesignWidth="280" d:DesignHeight="459"
</c:NavBarListBox.ItemTemplate>
</c:NavBarListBox>
<Separator />
- <!-- Selected Wallet List -->
- <c:NavBarListBox Items="{Binding SelectedWallets}"
- SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
- Name="SelectedWalletListBox"
- Classes="vertical"
- RenderTransformOrigin="0%,50%">
- <c:NavBarListBox.Styles>
- <Style Selector=":is(ListBox):not(:empty)">
- <Style.Animations>
- <Animation Delay="0:0:0.0" Duration="0:0:0.175">
- <KeyFrame Cue="0%">
- <Setter Property="Opacity" Value="0.0"/>
- </KeyFrame>
- <KeyFrame Cue="0.1%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="-40"/>
- <Setter Property="ScaleTransform.ScaleX" Value="0.98"/>
- <Setter Property="ScaleTransform.ScaleY" Value="0.98"/>
- </KeyFrame>
- <KeyFrame Cue="99%">
- <Setter Property="Opacity" Value="1.0"/>
- </KeyFrame>
- <KeyFrame Cue="100%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="0"/>
- <Setter Property="ScaleTransform.ScaleX" Value="1"/>
- <Setter Property="ScaleTransform.ScaleY" Value="1"/>
- </KeyFrame>
- </Animation>
- </Style.Animations>
- </Style>
- </c:NavBarListBox.Styles>
- <c:NavBarListBox.DataTemplates>
- <DataTemplate DataType="vmw:WalletViewModelBase">
- <Panel>
- <Panel Width="45" Background="Transparent" HorizontalAlignment="Left" ToolTip.Tip="{Binding Title}">
- <PathIcon HorizontalAlignment="Left">
- <PathIcon.Data>
- <Binding Path="IconName" Converter="{x:Static conv:NavBarIconConverter.Instance}" />
- </PathIcon.Data>
- </PathIcon>
- <Ellipse IsVisible="{Binding IsLoggedIn, Mode=OneWay}" Width="9" Height="9" Margin="15,0,0,-13" Fill="#F2994A"/>
- </Panel>
- <TextBlock Text="{Binding Title}" Margin="55 0 0 0" />
- </Panel>
- </DataTemplate>
- <DataTemplate DataType="vm:NavBarItemViewModel">
- <Panel>
- <Panel Width="45" Background="Transparent" HorizontalAlignment="Left" ToolTip.Tip="{Binding Title}">
- <PathIcon HorizontalAlignment="Left">
- <PathIcon.Data>
- <Binding Path="IconName" Converter="{x:Static conv:NavBarIconConverter.Instance}" />
- </PathIcon.Data>
- </PathIcon>
- </Panel>
- <TextBlock Text="{Binding Title}" Margin="55 0 0 0" />
- </Panel>
- </DataTemplate>
- </c:NavBarListBox.DataTemplates>
- </c:NavBarListBox>
- <!-- Actions List -->
- <c:NavBarListBox Items="{Binding Actions}"
- SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
- Name="ActionsListBox"
- Classes="horizontal"
- RenderTransformOrigin="0%,50%">
- <c:NavBarListBox.Styles>
- <Style Selector=":is(ListBox)">
- <Setter Property="ItemsPanel">
- <Setter.Value>
- <ItemsPanelTemplate>
- <StackPanel Orientation="{Binding HideItems, Mode=OneWay, Converter={x:Static conv:NavBarActionsOrientationConverter.Instance}}" HorizontalAlignment="Left" />
- </ItemsPanelTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style Selector=":is(ListBox):not(:empty)">
- <Style.Animations>
- <Animation Delay="0:0:0.0" Duration="0:0:0.175">
- <KeyFrame Cue="0%">
- <Setter Property="Opacity" Value="0.0"/>
- </KeyFrame>
- <KeyFrame Cue="0.1%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="-40"/>
- <Setter Property="ScaleTransform.ScaleX" Value="0.98"/>
- <Setter Property="ScaleTransform.ScaleY" Value="0.98"/>
- </KeyFrame>
- <KeyFrame Cue="99%">
- <Setter Property="Opacity" Value="1.0"/>
- </KeyFrame>
- <KeyFrame Cue="100%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="0"/>
- <Setter Property="ScaleTransform.ScaleX" Value="1"/>
- <Setter Property="ScaleTransform.ScaleY" Value="1"/>
- </KeyFrame>
- </Animation>
- </Style.Animations>
- </Style>
- </c:NavBarListBox.Styles>
- <c:NavBarListBox.DataTemplates>
- <DataTemplate DataType="vm:NavBarItemViewModel">
- <Panel>
- <Panel Width="45" Background="Transparent" HorizontalAlignment="Left" ToolTip.Tip="{Binding Title}">
- <PathIcon HorizontalAlignment="Left">
- <PathIcon.Data>
- <Binding Path="IconName" Converter="{x:Static conv:NavBarIconConverter.Instance}" />
- </PathIcon.Data>
- </PathIcon>
- </Panel>
- </Panel>
- </DataTemplate>
- </c:NavBarListBox.DataTemplates>
- </c:NavBarListBox>
- <!-- Actions Separator -->
- <Separator>
- <Separator.IsVisible>
- <MultiBinding Converter="{x:Static BoolConverters.And}">
- <Binding Path="!!Actions.Count" />
- <Binding Path="!!Items.Count" />
- <Binding Path="!HideItems" />
- </MultiBinding>
- </Separator.IsVisible>
- <Separator.Styles>
- <Style Selector="Separator[IsVisible=True]">
- <Style.Animations>
- <Animation Delay="0:0:0.0" Duration="0:0:0.175">
- <KeyFrame Cue="0%">
- <Setter Property="Opacity" Value="0.0"/>
- </KeyFrame>
- <KeyFrame Cue="100%">
- <Setter Property="Opacity" Value="1.0"/>
- </KeyFrame>
- </Animation>
- </Style.Animations>
- </Style>
- </Separator.Styles>
- </Separator>
</StackPanel>
<StackPanel DockPanel.Dock="Bottom">
<Separator />
<!-- Items List -->
<c:NavBarListBox Items="{Binding Wallets}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
- IsVisible="{Binding !HideItems, Mode=OneWay}"
Name="ItemsListBox"
Classes="vertical draggable"
RenderTransformOrigin="0%,50%"
VerticalAlignment="Stretch">
- <!-- TODO: VerticalAlignment="{Binding Actions.Count, Mode=OneWay, Converter={x:Static conv:NavBarItemsListBoxAlignmentConverter.Instance}}" -->
- <c:NavBarListBox.Styles>
- <Style Selector=":is(ListBox)[VerticalAlignment=Bottom]">
- <Style.Animations>
- <Animation Delay="0:0:0.1" Duration="0:0:0.175">
- <KeyFrame Cue="0%">
- <Setter Property="Opacity" Value="0.0"/>
- </KeyFrame>
- <KeyFrame Cue="0.1%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="-40"/>
- <Setter Property="ScaleTransform.ScaleX" Value="0.98"/>
- <Setter Property="ScaleTransform.ScaleY" Value="0.98"/>
- </KeyFrame>
- <KeyFrame Cue="99%">
- <Setter Property="Opacity" Value="1.0"/>
- </KeyFrame>
- <KeyFrame Cue="100%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="0"/>
- <Setter Property="ScaleTransform.ScaleX" Value="1"/>
- <Setter Property="ScaleTransform.ScaleY" Value="1"/>
- </KeyFrame>
- </Animation>
- </Style.Animations>
- </Style>
- <Style Selector=":is(ListBox)[VerticalAlignment=Stretch]">
- <Style.Animations>
- <Animation Delay="0:0:0.0" Duration="0:0:0.175">
- <KeyFrame Cue="0%">
- <Setter Property="Opacity" Value="0.0"/>
- </KeyFrame>
- <KeyFrame Cue="0.1%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="-40"/>
- <Setter Property="ScaleTransform.ScaleX" Value="0.98"/>
- <Setter Property="ScaleTransform.ScaleY" Value="0.98"/>
- </KeyFrame>
- <KeyFrame Cue="99%">
- <Setter Property="Opacity" Value="1.0"/>
- </KeyFrame>
- <KeyFrame Cue="100%" KeySpline="{StaticResource FluentKeySpline}">
- <Setter Property="TranslateTransform.X" Value="0"/>
- <Setter Property="ScaleTransform.ScaleX" Value="1"/>
- <Setter Property="ScaleTransform.ScaleY" Value="1"/>
- </KeyFrame>
- </Animation>
- </Style.Animations>
- </Style>
- </c:NavBarListBox.Styles>
<c:NavBarListBox.DataTemplates>
<DataTemplate DataType="vmw:WalletViewModelBase">
<Panel>

DELETE
WalletWasabi.Fluent/Views/Wallets/Actions/AdvancedWalletActionView.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:c="using:WalletWasabi.Fluent.Controls"
- xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Actions"
- mc:Ignorable="d" d:DesignWidth="428" d:DesignHeight="371"
- x:DataType="vm:AdvancedWalletActionViewModel"
- x:CompileBindings="True"
- x:Class="WalletWasabi.Fluent.Views.Wallets.Actions.AdvancedWalletActionView">
- <c:ContentArea Title="Advanced" Caption=""
- ScrollViewer.VerticalScrollBarVisibility="Disabled">
-
- </c:ContentArea>
-</UserControl>

DELETE
WalletWasabi.Fluent/Views/Wallets/Actions/AdvancedWalletActionView.axaml.cs
-using Avalonia.Controls;
-using Avalonia.Markup.Xaml;
-
-namespace WalletWasabi.Fluent.Views.Wallets.Actions
-{
- public class AdvancedWalletActionView : UserControl
- {
- public AdvancedWalletActionView()
- {
- InitializeComponent();
- }
-
- private void InitializeComponent()
- {
- AvaloniaXamlLoader.Load(this);
- }
- }
-}

DELETE
WalletWasabi.Fluent/Views/Wallets/Actions/CoinJoinWalletActionView.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:c="using:WalletWasabi.Fluent.Controls"
- xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Actions"
- mc:Ignorable="d" d:DesignWidth="428" d:DesignHeight="371"
- x:DataType="vm:CoinJoinWalletActionViewModel"
- x:CompileBindings="True"
- x:Class="WalletWasabi.Fluent.Views.Wallets.Actions.CoinJoinWalletActionView">
- <c:ContentArea Title="CoinJoin" Caption=""
- ScrollViewer.VerticalScrollBarVisibility="Disabled">
-
- </c:ContentArea>
-</UserControl>

DELETE
WalletWasabi.Fluent/Views/Wallets/Actions/CoinJoinWalletActionView.axaml.cs
-using Avalonia.Controls;
-using Avalonia.Markup.Xaml;
-
-namespace WalletWasabi.Fluent.Views.Wallets.Actions
-{
- public class CoinJoinWalletActionView : UserControl
- {
- public CoinJoinWalletActionView()
- {
- InitializeComponent();
- }
-
- private void InitializeComponent()
- {
- AvaloniaXamlLoader.Load(this);
- }
- }
-}

DELETE
WalletWasabi.Fluent/Views/Wallets/Actions/ReceiveWalletActionView.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:c="using:WalletWasabi.Fluent.Controls"
- xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Actions"
- xmlns:receive="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Receive"
- mc:Ignorable="d" d:DesignWidth="428" d:DesignHeight="371"
- x:DataType="receive:ReceiveViewModel"
- x:CompileBindings="True"
- x:Class="WalletWasabi.Fluent.Views.Wallets.Actions.ReceiveWalletActionView">
- <c:ContentArea Title="Receive" Caption=""
- EnableCancel="{Binding EnableCancel}"
- EnableBack="{Binding EnableBack}"
- ScrollViewer.VerticalScrollBarVisibility="Disabled">
-
- </c:ContentArea>
-</UserControl>

DELETE
WalletWasabi.Fluent/Views/Wallets/Actions/ReceiveWalletActionView.axaml.cs
-using Avalonia.Controls;
-using Avalonia.Markup.Xaml;
-
-namespace WalletWasabi.Fluent.Views.Wallets.Actions
-{
- public class ReceiveWalletActionView : UserControl
- {
- public ReceiveWalletActionView()
- {
- InitializeComponent();
- }
-
- private void InitializeComponent()
- {
- AvaloniaXamlLoader.Load(this);
- }
- }
-}

Remove wallet actions

The send and recieve actions will be added in #5780