Skip to content

Commit

Permalink
Fix incorrect tx link to tx explorer - use @Setter
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzmaker123 committed Jun 17, 2021
1 parent cfdd4b4 commit 12a7fd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,9 @@
import javax.annotation.Nullable;

public class ExplorerAddressTextField extends AnchorPane {
@Setter
private static Preferences preferences;

public static void setPreferences(Preferences preferences) {
ExplorerAddressTextField.preferences = preferences;
}

@Getter
private final TextField textField;
private final Label copyIcon, blockExplorerIcon, missingAddressWarningIcon;
Expand Down
11 changes: 2 additions & 9 deletions desktop/src/main/java/bisq/desktop/components/TxIdTextField.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,11 @@
import javax.annotation.Nullable;

public class TxIdTextField extends AnchorPane {
@Setter
private static Preferences preferences;

public static void setPreferences(Preferences preferences) {
TxIdTextField.preferences = preferences;
}

@Setter
private static BtcWalletService walletService;

public static void setWalletService(BtcWalletService walletService) {
TxIdTextField.walletService = walletService;
}

@Getter
private final TextField textField;
private final Tooltip progressIndicatorTooltip;
Expand Down

0 comments on commit 12a7fd6

Please sign in to comment.