mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Cleanup
This commit is contained in:
parent
ac6cad3ce0
commit
48ee5e7a9e
@ -78,7 +78,7 @@ public class DisplayAlertMessageWindow extends Overlay<DisplayAlertMessageWindow
|
||||
headLine = "Important information!";
|
||||
headLineLabel.setStyle("-fx-text-fill: -bs-error-red; -fx-font-weight: bold; -fx-font-size: 22;");
|
||||
}
|
||||
closeButton = new Button("Cancel");
|
||||
closeButton = new Button("Close");
|
||||
closeButton.setOnAction(e -> {
|
||||
hide();
|
||||
closeHandlerOptional.ifPresent(closeHandler -> closeHandler.run());
|
||||
|
@ -18,7 +18,6 @@
|
||||
package io.bitsquare.gui.main.overlays.windows;
|
||||
|
||||
import io.bitsquare.alert.Alert;
|
||||
import io.bitsquare.app.BitsquareApp;
|
||||
import io.bitsquare.common.util.Tuple2;
|
||||
import io.bitsquare.gui.components.InputTextField;
|
||||
import io.bitsquare.gui.main.overlays.Overlay;
|
||||
@ -116,9 +115,6 @@ public class SendAlertMessageWindow extends Overlay<SendAlertMessageWindow> {
|
||||
InputTextField versionInputTextField = addLabelInputTextField(gridPane, ++rowIndex, "New version nr.:").second;
|
||||
versionInputTextField.disableProperty().bind(isUpdateCheckBox.selectedProperty().not());
|
||||
|
||||
if (BitsquareApp.DEV_MODE)
|
||||
keyInputTextField.setText("2e41038992f89eef2e4634ff3586e342c68ad9a5a7ffafee866781687f77a9b1");
|
||||
|
||||
sendButton = new Button("Send notification");
|
||||
sendButton.setOnAction(e -> {
|
||||
if (alertMessageTextArea.getText().length() > 0 && keyInputTextField.getText().length() > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user