header title, column order
MODIFY
WalletWasabi.Fluent/Views/Wallets/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/History/HistoryTable.axaml
<DataGrid.Columns>
<!-- Date -->
- <DataGridTextColumn Header="Date"
+ <DataGridTextColumn Header="Date / Time"
x:DataType="history:HistoryItemViewModel"
Binding="{Binding Date}"
Width="*" />
- <!-- Outgoing -->
- <DataGridTemplateColumn Header="Outgoing"
+ <!-- Incoming -->
+ <DataGridTemplateColumn Header="Incoming"
Width="*"
- SortMemberPath="OutgoingAmount">
+ SortMemberPath="IncomingAmount">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel x:DataType="history:HistoryItemViewModel"
- IsVisible="{Binding !!OutgoingAmount}">
- <PathIcon Data="{StaticResource chevron_up_circle_regular}" Opacity="0.6" />
- <TextBlock Text="{Binding OutgoingAmount, StringFormat={}{0} BTC}" />
+ IsVisible="{Binding !!IncomingAmount}">
+ <PathIcon Data="{StaticResource chevron_down_circle_regular}" Opacity="0.6" />
+ <TextBlock Text="{Binding IncomingAmount, StringFormat={}{0} BTC}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
- <!-- Incoming -->
- <DataGridTemplateColumn Header="Incoming"
+ <!-- Outgoing -->
+ <DataGridTemplateColumn Header="Outgoing"
Width="*"
- SortMemberPath="IncomingAmount">
+ SortMemberPath="OutgoingAmount">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel x:DataType="history:HistoryItemViewModel"
- IsVisible="{Binding !!IncomingAmount}">
- <PathIcon Data="{StaticResource chevron_down_circle_regular}" Opacity="0.6" />
- <TextBlock Text="{Binding IncomingAmount, StringFormat={}{0} BTC}" />
+ IsVisible="{Binding !!OutgoingAmount}">
+ <PathIcon Data="{StaticResource chevron_up_circle_regular}" Opacity="0.6" />
+ <TextBlock Text="{Binding OutgoingAmount, StringFormat={}{0} BTC}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
+
<!-- Status -->
<DataGridTemplateColumn Header="Status"
Width="Auto"

header title, column order