Set history table coinjoin transaction background color
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinHistoryItemViewModel.cs
@@ -42,4 +42,6 @@ public class CoinJoinHistoryItemViewModel : HistoryItemViewModelBase
DateString = $"{Date.ToLocalTime():MM/dd/yy HH:mm}";
}
+
+ public bool IsCoinJoinTransaction => true;
}

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
<TreeDataGridCellsPresenter Name="PART_CellsPresenter"
ElementFactory="{TemplateBinding ElementFactory}"
Items="{TemplateBinding Columns}"
- Rows="{TemplateBinding Rows}"/>
+ Rows="{TemplateBinding Rows}"
+ Classes.coinJoinTransaction="{Binding IsCoinJoinTransaction}"
+ x:CompileBindings="False"/>
</Panel>
</DockPanel>
</ControlTemplate>
<Style Selector="TreeDataGridRow:selected /template/ TreeDataGridCellsPresenter#PART_CellsPresenter">
<Setter Property="Background" Value="Transparent" />
</Style>
+ <Style Selector="TreeDataGridRow /template/ TreeDataGridCellsPresenter#PART_CellsPresenter.coinJoinTransaction">
+ <Setter Property="Background" Value="{DynamicResource SystemListMediumColor}"/>
+ </Style>
<Style Selector="TextBlock.hidden">
<Setter Property="IsVisible" Value="False" />
</Style>

Set history table coinjoin transaction background color