mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-22 04:31:27 +00:00
code cleanup
This commit is contained in:
@@ -18,7 +18,6 @@ public class SimpleDialogController implements FxController {
|
||||
private final Runnable cancelAction;
|
||||
private final BooleanProperty cancelButtonVisible = new SimpleBooleanProperty(true);
|
||||
|
||||
|
||||
public SimpleDialogController(String message, String description, FontAwesome5Icon icon, String okButtonText, String cancelButtonText, Runnable okAction, Runnable cancelAction) {
|
||||
this.message = message;
|
||||
this.description = description;
|
||||
@@ -34,11 +33,10 @@ public class SimpleDialogController implements FxController {
|
||||
return cancelButtonVisible;
|
||||
}
|
||||
|
||||
public boolean isCancelButtonVisible(){
|
||||
public boolean isCancelButtonVisible() {
|
||||
return cancelButtonVisible.get();
|
||||
}
|
||||
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user