Remove Transaction Search leftovers
DELETE
WalletWasabi.Fluent/ViewModels/SearchBar/SearchItems/TransactionSearchItem.cs
-using System.Collections.Generic;
-using System.Linq;
-using NBitcoin;
-using WalletWasabi.Fluent.ViewModels.Wallets.Home.History.HistoryItems;
-
-namespace WalletWasabi.Fluent.ViewModels.SearchBar.SearchItems;
-
-internal class TransactionSearchItem
-{
- public HistoryItemViewModelBase Transaction { get; }
-
- public TransactionSearchItem(HistoryItemViewModelBase transaction)
- {
- Transaction = transaction;
- Labels = transaction.Label.Labels.ToList();
- Date = transaction.Date;
- Id = transaction.Id.ToString();
- Amount = transaction.IncomingAmount ?? -transaction.OutgoingAmount ?? Money.Zero;
- Balance = transaction.Balance;
- }
-
- public Money Balance { get; }
-
- public string Id { get; }
-
- public DateTimeOffset Date { get; set; }
-
- public List<string> Labels { get; set; }
-
- public Money Amount { get; }
-}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/SearchBar/SearchBarDropdown.axaml
WalletWasabi.Fluent/Views/SearchBar/SearchBarDropdown.axaml
</settings:SettingSelector.DataTemplates>
</settings:SettingSelector>
- <DataTemplate DataType="searchItems:TransactionSearchItem">
- <DockPanel ToolTip.Tip="{Binding Id}">
- <TextBlock VerticalAlignment="Center" DockPanel.Dock="Right" Text="{Binding Amount, Converter={x:Static conv:MoneyConverters.ToFormattedString}}" Margin="10 0" />
- <TextBlock VerticalAlignment="Center" DockPanel.Dock="Right" Text="{Binding Date, StringFormat='{}{0:d}'}" Margin="10 0" />
- <controls:LabelsListBox Items="{Binding Labels}" Margin="10 0" />
- </DockPanel>
- </DataTemplate>
-
<DataTemplate DataType="searchItems:NonActionableSearchItem">
<DockPanel Background="Transparent" Margin="10">

Remove Transaction Search leftovers