remove unused poroperty.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/OptimisePrivacyViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/OptimisePrivacyViewModel.cs
@@ -50,15 +50,12 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
var h = s.Item1;
NextCommand = ReactiveCommand.Create(
- () => OnNext(transactionInfo),
+ Complete,
this.WhenAnyValue(x => x.SelectedPrivacySuggestion).Select(x => x is { }));
}
- private void OnNext(TransactionInfo transactionInfo)
+ private void Complete()
{
- _transactionInfo.UserDidntRequestOptimisation =
- _requestedTransaction == SelectedPrivacySuggestion!.TransactionResult;
-
Close(DialogResultKind.Normal, SelectedPrivacySuggestion!.TransactionResult);
}

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionInfo.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionInfo.cs
@@ -35,8 +35,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
public IPayjoinClient? PayJoinClient { get; set; }
- public bool UserDidntRequestOptimisation { get; set; }
-
public bool IsPayJoin => PayJoinClient is { };
public bool IsPrivatePocketUsed => Coins.All(x => x.HdPubKey.AnonymitySet >= _privateCoinTreshold);

remove unused poroperty.