remove SelectedItem stuff
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -25,7 +25,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
private readonly ObservableCollectionExtended<HistoryItemViewModel> _unfilteredTransactions;
[AutoNotify] private bool _showCoinJoin;
- [AutoNotify] private HistoryItemViewModel? _selectedItem;
public HistoryViewModel(Wallet wallet, UiConfig uiConfig, IObservable<Unit> updateTrigger)
{

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
@@ -52,23 +52,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
RoundStatusTile,
BtcPriceTile
};
-
- History.WhenAnyValue(x=>x.SelectedItem)
- .Subscribe(async selectedItem =>
- {
- if (selectedItem is null)
- {
- return;
- }
-
- Navigate(NavigationTarget.DialogScreen)
- .To(new TransactionDetailsViewModel(selectedItem.TransactionSummary, wallet, balanceChanged));
-
- Dispatcher.UIThread.Post(() =>
- {
- History.SelectedItem = null;
- });
- });
}
private CompositeDisposable Disposables { get; set; }

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
</DockPanel>
<DataGrid Items="{Binding Transactions}"
- SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
CanUserResizeColumns="False"
DockPanel.Dock="Bottom">
<DataGrid.Styles>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock x:DataType="history:HistoryItemViewModel"
- Text="{Binding Date, Mode=OneWay, StringFormat='{}{0:MM/dd/yyyy HH:mm}'}"
+ Text="{Binding Date, StringFormat='{}{0:MM/dd/yyyy HH:mm}'}"
Classes="monoSpaced"
Margin="10 0" />
</DataTemplate>
IsVisible="{Binding !!IncomingAmount}"
HorizontalAlignment="Right">
<PathIcon Data="{StaticResource arrow_down_right_regular}" Opacity="0.6" />
- <TextBlock Classes="monoSpaced" Text="{Binding IncomingAmount, Mode=OneWay, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
+ <TextBlock Classes="monoSpaced" Text="{Binding IncomingAmount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
IsVisible="{Binding !!OutgoingAmount}"
HorizontalAlignment="Right">
<PathIcon Data="{StaticResource arrow_up_right_regular}" Opacity="0.6" />
- <TextBlock Classes="monoSpaced" Text="{Binding OutgoingAmount, Mode=OneWay, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
+ <TextBlock Classes="monoSpaced" Text="{Binding OutgoingAmount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
<TextBlock Classes="monoSpaced"
HorizontalAlignment="Right"
x:DataType="history:HistoryItemViewModel"
- Text="{Binding Balance, Mode=OneWay, Converter={x:Static converters:MoneyConverters.ToFormattedString}}"
+ Text="{Binding Balance, Converter={x:Static converters:MoneyConverters.ToFormattedString}}"
Margin="10 0" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>

remove SelectedItem stuff