Browse Source

fix npe on initial startup #2

terminal
Craig Raw 4 years ago
parent
commit
3093e4906c
  1. 2
      src/main/java/com/sparrowwallet/sparrow/AppServices.java

2
src/main/java/com/sparrowwallet/sparrow/AppServices.java

@ -312,7 +312,7 @@ public class AppServices {
}
public static boolean isConnected() {
return onlineProperty.get() && get().connectionService.isConnected();
return onlineProperty.get() && get().connectionService != null && get().connectionService.isConnected();
}
public static BooleanProperty onlineProperty() {

Loading…
Cancel
Save