mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-14 08:41:28 +00:00
actually use the scene in ui flow
This commit is contained in:
@@ -75,6 +75,7 @@ public class ReceiveKeyController implements FxController {
|
||||
try {
|
||||
switch (response.statusCode()) {
|
||||
case 200 -> retrievalSucceeded(response);
|
||||
case 402 -> hubLicenseExceeded();
|
||||
case 403 -> accessNotGranted();
|
||||
case 404 -> needsDeviceRegistration();
|
||||
default -> throw new IOException("Unexpected response " + response.statusCode());
|
||||
@@ -94,7 +95,7 @@ public class ReceiveKeyController implements FxController {
|
||||
}
|
||||
}
|
||||
|
||||
private void hubLicenseInsufficient() {
|
||||
private void hubLicenseExceeded() {
|
||||
window.setScene(licenseExceededScene.get());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user