Fix incorrect tx link to tx explorer - use @Setter

This commit is contained in:
xyzmaker123 2021-06-17 20:57:52 +02:00
parent cfdd4b4757
commit 12a7fd60b2
No known key found for this signature in database
GPG key ID: 47689699B7B0AAFC
2 changed files with 3 additions and 13 deletions

View file

@ -41,12 +41,9 @@ import lombok.Setter;
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;

View file

@ -46,18 +46,11 @@ import lombok.Setter;
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;