diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties
index ba89e6c2..02379063 100644
--- a/core/src/main/resources/i18n/displayStrings.properties
+++ b/core/src/main/resources/i18n/displayStrings.properties
@@ -127,7 +127,7 @@ shared.noDateAvailable=No date available
shared.noDetailsAvailable=No details available
shared.notUsedYet=Not used yet
shared.date=Date
-shared.sendFundsDetailsWithFee=Sending: {0}\nFrom address: {1}\nTo receiving address: {2}.\nRequired mining fee is: {3}\n\nThe recipient will receive: {4}\n\nAre you sure you want to withdraw this amount?
+shared.sendFundsDetailsWithFee=Sending: {0}\nTo receiving address: {1}.\nRequired mining fee is: {2}\n\nThe recipient will receive: {3}\n\nAre you sure you want to withdraw this amount?
# suppress inspection "TrailingSpacesInProperty"
shared.sendFundsDetailsDust=Haveno detected that this transaction would create a change output which is below the minimum dust threshold (and therefore not allowed by Monero consensus rules). Instead, this dust ({0} satoshi{1}) will be added to the mining fee.\n\n\n
shared.copyToClipboard=Copy to clipboard
diff --git a/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.fxml b/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.fxml
index 592bfc45..c6d31402 100644
--- a/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.fxml
+++ b/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.fxml
@@ -29,14 +29,6 @@
-
-
-
-
-
-
-
-
diff --git a/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java b/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java
index 846b0b5e..29fe323f 100644
--- a/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java
+++ b/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java
@@ -19,10 +19,6 @@ package bisq.desktop.main.funds.withdrawal;
import bisq.desktop.common.view.ActivatableView;
import bisq.desktop.common.view.FxmlView;
-import bisq.desktop.components.AutoTooltipCheckBox;
-import bisq.desktop.components.AutoTooltipLabel;
-import bisq.desktop.components.ExternalHyperlink;
-import bisq.desktop.components.HyperlinkWithIcon;
import bisq.desktop.components.InputTextField;
import bisq.desktop.components.TitledGroupBg;
import bisq.desktop.main.overlays.popups.Popup;
@@ -30,7 +26,6 @@ import bisq.desktop.main.overlays.windows.TxDetails;
import bisq.desktop.main.overlays.windows.WalletPasswordWindow;
import bisq.desktop.util.GUIUtil;
import bisq.desktop.util.Layout;
-
import bisq.core.btc.listeners.XmrBalanceListener;
import bisq.core.btc.model.XmrAddressEntry;
import bisq.core.btc.setup.WalletsSetup;
@@ -40,7 +35,6 @@ import bisq.core.provider.fee.FeeService;
import bisq.core.trade.Trade;
import bisq.core.trade.TradeManager;
import bisq.core.user.DontShowAgainLookup;
-import bisq.core.user.Preferences;
import bisq.core.util.FormattingUtils;
import bisq.core.util.ParsingUtils;
import bisq.core.util.coin.CoinFormatter;
@@ -48,7 +42,6 @@ import bisq.core.util.validation.BtcAddressValidator;
import bisq.network.p2p.P2PService;
import bisq.common.util.Tuple2;
-import bisq.common.util.Tuple3;
import org.bitcoinj.core.Coin;
@@ -57,46 +50,19 @@ import javax.inject.Named;
import monero.wallet.model.MoneroTxConfig;
import monero.wallet.model.MoneroTxWallet;
-import org.apache.commons.lang3.StringUtils;
-
import javafx.fxml.FXML;
import javafx.scene.control.Button;
-import javafx.scene.control.CheckBox;
import javafx.scene.control.Label;
-import javafx.scene.control.RadioButton;
-import javafx.scene.control.SelectionMode;
-import javafx.scene.control.TableCell;
-import javafx.scene.control.TableColumn;
-import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
-import javafx.scene.control.Toggle;
-import javafx.scene.control.ToggleGroup;
-import javafx.scene.control.Tooltip;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.VBox;
-import javafx.geometry.Pos;
-
-import javafx.beans.property.BooleanProperty;
-import javafx.beans.property.ReadOnlyObjectWrapper;
-import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.value.ChangeListener;
-import javafx.collections.FXCollections;
-import javafx.collections.ObservableList;
-import javafx.collections.transformation.SortedList;
-
-import javafx.util.Callback;
-
-
import java.math.BigInteger;
import java.util.ArrayList;
-import java.util.Comparator;
-import java.util.HashSet;
import java.util.List;
-import java.util.Set;
-import java.util.stream.Collectors;
import static bisq.desktop.util.FormBuilder.*;
@@ -105,31 +71,18 @@ public class WithdrawalView extends ActivatableView {
@FXML
GridPane gridPane;
- @FXML
- TableView tableView;
- @FXML
- TableColumn addressColumn, balanceColumn, selectColumn;
- private RadioButton useAllInputsRadioButton, useCustomInputsRadioButton;
private Label amountLabel;
- private TextField amountTextField, withdrawFromTextField, withdrawToTextField, withdrawMemoTextField;
+ private TextField amountTextField, withdrawToTextField, withdrawMemoTextField;
private final XmrWalletService xmrWalletService;
private final TradeManager tradeManager;
private final P2PService p2PService;
private final CoinFormatter formatter;
- private final Preferences preferences;
- private final ObservableList observableList = FXCollections.observableArrayList();
- private final SortedList sortedList = new SortedList<>(observableList);
- private final Set selectedItems = new HashSet<>();
private XmrBalanceListener balanceListener;
- private Coin totalAvailableAmountOfSelectedItems = Coin.ZERO;
private Coin amountAsCoin = Coin.ZERO;
private ChangeListener amountListener;
private ChangeListener amountFocusListener;
- private ChangeListener inputsToggleGroupListener;
- private ToggleGroup inputsToggleGroup;
- private final BooleanProperty useAllInputs = new SimpleBooleanProperty(true);
private int rowIndex = 0;
///////////////////////////////////////////////////////////////////////////////////////////
@@ -142,7 +95,6 @@ public class WithdrawalView extends ActivatableView {
P2PService p2PService,
WalletsSetup walletsSetup,
@Named(FormattingUtils.BTC_FORMATTER_KEY) CoinFormatter formatter,
- Preferences preferences,
BtcAddressValidator btcAddressValidator,
WalletPasswordWindow walletPasswordWindow,
FeeService feeService) {
@@ -150,7 +102,6 @@ public class WithdrawalView extends ActivatableView {
this.tradeManager = tradeManager;
this.p2PService = p2PService;
this.formatter = formatter;
- this.preferences = preferences;
}
@Override
@@ -159,34 +110,14 @@ public class WithdrawalView extends ActivatableView {
final TitledGroupBg titledGroupBg = addTitledGroupBg(gridPane, rowIndex, 4, Res.get("funds.deposit.withdrawFromWallet"));
titledGroupBg.getStyleClass().add("last");
- inputsToggleGroup = new ToggleGroup();
- inputsToggleGroupListener = (observable, oldValue, newValue) -> {
- useAllInputs.set(newValue == useAllInputsRadioButton);
-
- updateInputSelection();
- };
-
- final Tuple3