Remove tooltip
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendControlViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendControlViewModel.cs
@@ -63,7 +63,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private string _customChangeAddress;
private string _labelToolTip;
private string _feeToolTip;
- private string _customChangeAddressToolTip;
private string _amountWaterMarkText;
private bool _isBusy;
private bool _isHardwareBusy;
@@ -191,7 +190,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
AmountText = "0.0";
LabelToolTip = "Who can link this transaction to you? E.g.: \"Max, BitPay\"";
- CustomChangeAddressToolTip = "";
}
this.RaisePropertyChanged(nameof(Address));
@@ -578,12 +576,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set => this.RaiseAndSetIfChanged(ref _feeToolTip, value);
}
- public string CustomChangeAddressToolTip
- {
- get => _customChangeAddressToolTip;
- set => this.RaiseAndSetIfChanged(ref _customChangeAddressToolTip, value);
- }
-
public string AmountWatermarkText
{
get => _amountWaterMarkText;
@@ -639,7 +631,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
AllSelectedAmount = Money.Zero;
IsMax = false;
LabelToolTip = "Who can link this transaction to you? E.g.: \"Max, BitPay\"";
- CustomChangeAddressToolTip = "";
AmountText = "0.0";
}
@@ -919,14 +910,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public ErrorDescriptors ValidateCustomChangeAddress()
{
- if (string.IsNullOrWhiteSpace(CustomChangeAddress))
- {
- return ErrorDescriptors.Empty;
- }
-
- if (IsMax)
+ if (string.IsNullOrWhiteSpace(CustomChangeAddress) || IsMax)
{
- CustomChangeAddressToolTip = "Spending whole coins does not generate change.";
return ErrorDescriptors.Empty;
}

Remove tooltip