Close unlockScene after entering the phrase and unlocking the vault (#1186)

This commit is contained in:
Ralph Plawetzki
2020-05-12 07:40:38 +02:00
committed by GitHub
parent b2a6e038ae
commit d91d27f2a4

View File

@@ -129,8 +129,11 @@ public class UnlockWorkflow extends Task<Boolean> {
window.setScene(successScene.get());
window.show();
});
case REVEAL -> vaultService.reveal(vault);
case IGNORE -> {}
case REVEAL -> {
Platform.runLater(window::close);
vaultService.reveal(vault);
}
case IGNORE -> Platform.runLater(window::close);
}
}