mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
remove vpn from config class
This commit is contained in:
parent
f29dcad7bb
commit
e236c502a8
1 changed files with 0 additions and 30 deletions
|
|
@ -7,7 +7,6 @@ import com.sparrowwallet.sparrow.Mode;
|
||||||
import com.sparrowwallet.sparrow.Theme;
|
import com.sparrowwallet.sparrow.Theme;
|
||||||
import com.sparrowwallet.sparrow.control.QRDensity;
|
import com.sparrowwallet.sparrow.control.QRDensity;
|
||||||
import com.sparrowwallet.sparrow.control.WebcamResolution;
|
import com.sparrowwallet.sparrow.control.WebcamResolution;
|
||||||
import com.sparrowwallet.sparrow.joinstr.VpnGateway;
|
|
||||||
import com.sparrowwallet.sparrow.net.*;
|
import com.sparrowwallet.sparrow.net.*;
|
||||||
import com.sparrowwallet.sparrow.wallet.FeeRatesSelection;
|
import com.sparrowwallet.sparrow.wallet.FeeRatesSelection;
|
||||||
import com.sparrowwallet.sparrow.wallet.OptimizationStrategy;
|
import com.sparrowwallet.sparrow.wallet.OptimizationStrategy;
|
||||||
|
|
@ -85,13 +84,9 @@ public class Config {
|
||||||
|
|
||||||
// Joinstr settings
|
// Joinstr settings
|
||||||
|
|
||||||
private VpnGateway vpnGateway;
|
|
||||||
|
|
||||||
private String nostrRelay;
|
private String nostrRelay;
|
||||||
|
|
||||||
private String nodeUsername;
|
|
||||||
|
|
||||||
private String nodePassword;
|
|
||||||
|
|
||||||
// ================
|
// ================
|
||||||
|
|
||||||
|
|
@ -698,14 +693,6 @@ public class Config {
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
public VpnGateway getVpnGateway() {
|
|
||||||
return vpnGateway;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setVpnGateway(VpnGateway vpnGateway) {
|
|
||||||
this.vpnGateway = vpnGateway;
|
|
||||||
flush();
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getNostrRelay() {
|
public String getNostrRelay() {
|
||||||
return nostrRelay;
|
return nostrRelay;
|
||||||
|
|
@ -716,23 +703,6 @@ public class Config {
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getNodeUsername() {
|
|
||||||
return nodeUsername;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setNodeUsername(String nodeUsername) {
|
|
||||||
this.nodeUsername = nodeUsername;
|
|
||||||
flush();
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getNodePassword() {
|
|
||||||
return nodePassword;
|
|
||||||
}
|
|
||||||
public void setNodePassword(String nodePassword) {
|
|
||||||
this.nodePassword = nodePassword;
|
|
||||||
flush();
|
|
||||||
}
|
|
||||||
|
|
||||||
private synchronized void flush() {
|
private synchronized void flush() {
|
||||||
Gson gson = getGson();
|
Gson gson = getGson();
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue