closing the window will cancel implicitly

This commit is contained in:
Sebastian Stenzel
2021-12-15 17:32:11 +01:00
parent e6f43d1f05
commit abc0f952e0

View File

@@ -81,7 +81,7 @@ public class RegisterDeviceController implements FxController {
private void registrationSucceeded(HttpResponse<Void> voidHttpResponse) {
LOG.info("Registered!");
result.cancel(true); // TODO: show visual feedback "please wait for device authorization"
window.close(); // TODO: show visual feedback "please wait for device authorization"
}
private Void registrationFailed(Throwable cause) {