begin to frame change avoidance more obviously.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/ChangeAvoidanceSuggestionViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/ChangeAvoidanceSuggestionViewModel.cs
@@ -110,9 +110,7 @@ public partial class ChangeAvoidanceSuggestionViewModel : SuggestionViewModel
smallerSuggestion = new ChangeAvoidanceSuggestionViewModel(
transactionInfo.Amount.ToDecimal(MoneyUnit.BTC), smallerTransaction,
- PrivacyOptimisationLevel.Better, wallet.Synchronizer.UsdExchangeRate, false,
- new PrivacySuggestionBenefit(true, "Improved Privacy"),
- new PrivacySuggestionBenefit(false, "No change, less trace"));
+ PrivacyOptimisationLevel.Better, wallet.Synchronizer.UsdExchangeRate, false);
}
var defaultSelection = new ChangeAvoidanceSuggestionViewModel(
@@ -129,9 +127,7 @@ public partial class ChangeAvoidanceSuggestionViewModel : SuggestionViewModel
var largerSuggestion = new ChangeAvoidanceSuggestionViewModel(
transactionInfo.Amount.ToDecimal(MoneyUnit.BTC), largerTransaction,
- PrivacyOptimisationLevel.Better, wallet.Synchronizer.UsdExchangeRate, false,
- new PrivacySuggestionBenefit(true, "Improved Privacy"),
- new PrivacySuggestionBenefit(false, "No change, less trace"));
+ PrivacyOptimisationLevel.Better, wallet.Synchronizer.UsdExchangeRate, false);
// There are several scenarios, both the alternate suggestions are <, or >, or 1 < and 1 >.
// We sort them and add the suggestions accordingly.

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/ChangeAvoidanceSuggestionControl.axaml
WalletWasabi.Fluent/Views/Wallets/Send/ChangeAvoidanceSuggestionControl.axaml
xmlns:conv="using:WalletWasabi.Fluent.Converters"
xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Send"
xmlns:models="clr-namespace:WalletWasabi.Fluent.Models"
- mc:Ignorable="d"
+ mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="450"
x:DataType="vm:ChangeAvoidanceSuggestionViewModel"
x:CompileBindings="True"
ClipToBounds="False"
+
x:Class="WalletWasabi.Fluent.Views.Wallets.Send.ChangeAvoidanceSuggestionControl">
<Panel>
<Border Name="PART_DecorationBorder" />
<Panel MinHeight="80" MinWidth="100">
<StackPanel Spacing="10" VerticalAlignment="Top">
<Panel>
- <PathIcon Data="{StaticResource btc_logo}" Height="25" Width="25"
+ <PathIcon Data="{StaticResource paper_cash_regular}" Height="25" Width="25"
Foreground="{DynamicResource TextForegroundColor}" />
<Viewbox IsVisible="{Binding OptimisationLevelGood}" Height="24" Width="24" Margin="0 0 10 2"
</Viewbox>
</Panel>
+ <TextBlock TextWrapping="Wrap" Text="This transaction creates change on the blockchain. Avoiding this improves your privacy. Instead you can:" />
+
+ <TextBlock Text="Send:" FontSize="12" Opacity="0.8" />
<TextBlock Text="{Binding Amount}" FontSize="20" HorizontalAlignment="Center" />
<TextBlock Text="{Binding AmountFiat}" FontSize="12" HorizontalAlignment="Center" Opacity="0.6" />
</StackPanel>

begin to frame change avoidance more obviously.