fix copy content
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/Details/CoinJoinDetailsViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/Details/CoinJoinDetailsViewModel.cs
@@ -18,7 +18,7 @@ public partial class CoinJoinDetailsViewModel : RoutableViewModel
private readonly IObservable<Unit> _updateTrigger;
[AutoNotify] private string _date = "";
- [AutoNotify] private Money? _coinJoinFee;
+ [AutoNotify] private string _coinJoinFeeRawString = "";
[AutoNotify] private string _coinJoinFeeString = "";
[AutoNotify] private uint256? _transactionId;
[AutoNotify] private bool _isConfirmed;
@@ -57,8 +57,8 @@ public partial class CoinJoinDetailsViewModel : RoutableViewModel
private void Update()
{
Date = _coinJoin.DateString;
- CoinJoinFee = _coinJoin.OutgoingAmount;
- CoinJoinFeeString = CoinJoinFee.ToFeeDisplayUnitString();
+ CoinJoinFeeRawString = _coinJoin.OutgoingAmount.ToFeeDisplayUnitRawString();
+ CoinJoinFeeString = _coinJoin.OutgoingAmount.ToFeeDisplayUnitFormattedString();
Confirmations = _coinJoin.CoinJoinTransaction.GetConfirmations();
IsConfirmed = Confirmations > 0;

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/Details/CoinJoinsDetailsViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/Details/CoinJoinsDetailsViewModel.cs
@@ -21,7 +21,7 @@ public partial class CoinJoinsDetailsViewModel : RoutableViewModel
[AutoNotify] private string _date = "";
[AutoNotify] private string _status = "";
- [AutoNotify] private Money? _coinJoinFee;
+ [AutoNotify] private string _coinJoinFeeRawString = "";
[AutoNotify] private string _coinJoinFeeString = "";
[AutoNotify] private ObservableCollection<uint256>? _transactionIds;
[AutoNotify] private int _txCount;
@@ -60,8 +60,8 @@ public partial class CoinJoinsDetailsViewModel : RoutableViewModel
{
Date = _coinJoinGroup.DateString;
Status = _coinJoinGroup.IsConfirmed ? "Confirmed" : "Pending";
- CoinJoinFee = _coinJoinGroup.OutgoingAmount;
- CoinJoinFeeString = CoinJoinFee.ToFeeDisplayUnitString();
+ CoinJoinFeeRawString = _coinJoinGroup.OutgoingAmount.ToFeeDisplayUnitRawString();
+ CoinJoinFeeString = _coinJoinGroup.OutgoingAmount.ToFeeDisplayUnitFormattedString();
TransactionIds = new ObservableCollection<uint256>(_coinJoinGroup.CoinJoinTransactions.Select(x => x.TransactionId));
TxCount = TransactionIds.Count;

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinDetailsView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinDetailsView.axaml
<!-- CJ fee -->
<c:PreviewItem Icon="{StaticResource btc_logo}"
Label="Fees"
- TextValue="{Binding CoinJoinFeeString}">
+ TextValue="{Binding CoinJoinFeeRawString}">
<TextBlock Text="{Binding CoinJoinFeeString, Mode=OneWay}" />
</c:PreviewItem>
</StackPanel>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinsDetailsView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinsDetailsView.axaml
<!-- CJ fee -->
<c:PreviewItem Icon="{StaticResource btc_logo}"
Label="Fees"
- TextValue="{Binding CoinJoinFeeString}">
+ TextValue="{Binding CoinJoinFeeRawString}">
<TextBlock Text="{Binding CoinJoinFeeString, Mode=OneWay}" />
</c:PreviewItem>

fix copy content