mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-09 15:12:26 -04:00
Cleanups, better logging
This commit is contained in:
parent
348dfb47b3
commit
23b1adbe7e
6 changed files with 15 additions and 51 deletions
|
@ -148,8 +148,9 @@ public class BitsquareApp extends Application {
|
|||
|
||||
// configure the system tray
|
||||
SystemTray systemTray = SystemTray.create(primaryStage, shutDownHandler);
|
||||
primaryStage.setOnCloseRequest(e -> {
|
||||
e.consume();
|
||||
|
||||
primaryStage.setOnCloseRequest(event -> {
|
||||
event.consume();
|
||||
if (BitsquareApp.IS_RELEASE_VERSION)
|
||||
stop(); // systemTray.hideStage(); TODO issues with some linux systems (https://github.com/bitsquare/bitsquare/issues/350)
|
||||
else
|
||||
|
|
|
@ -21,7 +21,6 @@ import io.bitsquare.common.taskrunner.Task;
|
|||
import io.bitsquare.gui.common.view.FxmlView;
|
||||
import io.bitsquare.gui.common.view.InitializableView;
|
||||
import io.bitsquare.trade.protocol.availability.OfferAvailabilityProtocol;
|
||||
import io.bitsquare.trade.protocol.availability.tasks.GetPeerAddress;
|
||||
import io.bitsquare.trade.protocol.availability.tasks.ProcessOfferAvailabilityResponse;
|
||||
import io.bitsquare.trade.protocol.availability.tasks.SendOfferAvailabilityRequest;
|
||||
import io.bitsquare.trade.protocol.placeoffer.PlaceOfferProtocol;
|
||||
|
@ -65,7 +64,6 @@ public class DebugView extends InitializableView {
|
|||
final ObservableList<Class> items1 = FXCollections.observableArrayList(Arrays.asList(
|
||||
/*---- Protocol ----*/
|
||||
OfferAvailabilityProtocol.class,
|
||||
GetPeerAddress.class,
|
||||
SendOfferAvailabilityRequest.class,
|
||||
ProcessOfferAvailabilityResponse.class,
|
||||
Boolean.class, /* used as seperator*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue