Add feature to see wallet coins
ADD
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoinsViewModel.cs
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using WalletWasabi.Fluent.ViewModels.Navigation;
+
+namespace WalletWasabi.Fluent.ViewModels.Wallets.Advanced
+{
+ [NavigationMetaData(Title = "Wallet Coins")]
+ public partial class WalletCoinsViewModel : RoutableViewModel
+ {
+ public WalletCoinsViewModel(WalletViewModelBase walletViewModelBase)
+ {
+ SetupCancel(false, true, true);
+ NextCommand = CancelCommand;
+ }
+ }
+}

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
@@ -144,6 +144,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
});
WalletSettingsCommand = ReactiveCommand.Create(() => Navigate(NavigationTarget.DialogScreen).To(Settings));
+
+ WalletCoinsCommand = ReactiveCommand.Create(() => Navigate(NavigationTarget.DialogScreen).To(new WalletCoinsViewModel(this)));
}
public WalletSettingsViewModel Settings { get; }
@@ -158,6 +160,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
public ICommand WalletSettingsCommand { get; }
+ public ICommand WalletCoinsCommand { get; }
+
private CompositeDisposable Disposables { get; set; }
public HistoryViewModel History { get; }

ADD
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoinsView.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"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ xmlns:advanced="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Advanced"
+ xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
+ x:DataType="advanced:WalletCoinsViewModel"
+ x:CompileBindings="True"
+ x:Class="WalletWasabi.Fluent.Views.Wallets.Advanced.WalletCoinsView">
+ <c:ContentArea Title="{Binding Title}"
+ EnableNext="True" NextContent="Done"
+ EnableCancel="{Binding EnableCancel}"
+ EnableBack="{Binding EnableBack}">
+ </c:ContentArea>
+</UserControl>

ADD
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoinsView.axaml.cs
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.Wallets.Advanced
+{
+ public class WalletCoinsView : UserControl
+ {
+ public WalletCoinsView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+ }
+}

MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
<PathIcon Data="{StaticResource settings_regular}" />
</MenuItem.Icon>
</MenuItem>
+ <MenuItem Header="Wallet Coins" Command="{Binding WalletCoinsCommand}">
+ <MenuItem.Icon>
+ <PathIcon Data="{StaticResource settings_regular}" />
+ </MenuItem.Icon>
+ </MenuItem>
</MenuFlyout>
</Button.Flyout>
<PathIcon Data="{StaticResource more_regular}" Foreground="{DynamicResource TextForegroundColor}" />

Add feature to see wallet coins