Handle single coin joins transaction for Copy Transaction ID menu item
MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:c="using:WalletWasabi.Fluent.Controls"
+ xmlns:conv="using:WalletWasabi.Fluent.Converters"
xmlns:history="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.History"
xmlns:historyItems="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.History.HistoryItems"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors"
</ContextMenu>
<ContextMenu x:Key="CoinJoinsTransactionContextMenu" x:DataType="historyItems:CoinJoinsHistoryItemViewModel">
+ <MenuItem Header="Copy Transaction ID"
+ Command="{Binding ClipboardCopyCommand}"
+ CommandParameter="{Binding CoinJoinTransactions[0].TransactionId, StringFormat={}{0}}"
+ IsVisible="{Binding CoinJoinTransactions.Count, Converter={x:Static conv:ListCountConverters.IsSingleItem}}">
+ <MenuItem.Icon>
+ <PathIcon Data="{StaticResource transaction_id}" />
+ </MenuItem.Icon>
+ </MenuItem>
+ <Separator IsVisible="{Binding CoinJoinTransactions.Count, Converter={x:Static conv:ListCountConverters.IsSingleItem}}"/>
<MenuItem Header="Show details"
Command="{Binding ShowDetailsCommand}">
<MenuItem.Icon>

Handle single coin joins transaction for Copy Transaction ID menu item