add btc unit
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/History/HistoryViewModel.cs
@@ -33,7 +33,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.History
Histories.Clear();
var trs = txRecordList.Select(transactionSummary => new HistoryItemViewModel(transactionSummary, _bitcoinStore));
- Histories.AddRange(trs);
+ Histories.AddRange(trs.Reverse());
}
catch (Exception ex)
{

MODIFY
WalletWasabi.Fluent/Views/Wallets/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/History/HistoryTable.axaml
x:DataType="history:HistoryViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.History.HistoryTable">
- <DataGrid Items="{Binding Histories}" Width="1000" Height="300" HorizontalAlignment="Left" VerticalAlignment="Top">
+ <DataGrid Items="{Binding Histories}">
<DataGrid.Styles>
<Style Selector="PathIcon">
<Setter Property="Width" Value="20"/>
</LayoutTransformControl.LayoutTransform>
<PathIcon Data="{StaticResource chevron_down_circle_regular}" Opacity="0.6" />
</LayoutTransformControl>
- <TextBlock Text="{Binding OutgoingAmount}" />
+ <TextBlock Text="{Binding OutgoingAmount, StringFormat={}{0} BTC}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
IsVisible="{Binding !!IncomingAmount}"
Margin="10 0">
<PathIcon Data="{StaticResource chevron_down_circle_regular}" Opacity="0.6" />
- <TextBlock Text="{Binding IncomingAmount}" />
+ <TextBlock Text="{Binding IncomingAmount, StringFormat={}{0} BTC}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>

MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
x:Class="WalletWasabi.Fluent.Views.Wallets.WalletView">
<c:ContentArea Title="{Binding Title}"
Caption="Wallet Home Page, currently under construction." >
- <history:HistoryTable DataContext="{Binding History}"/>
+ <history:HistoryTable DataContext="{Binding History}" MaxWidth="1000" Height="300" HorizontalAlignment="Stretch" VerticalAlignment="Top"/>
</c:ContentArea>
</UserControl>

add btc unit