mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-18 18:51:26 +00:00
quit application when closing the window and no vault is unlocked [ci skip]
This commit is contained in:
@@ -324,7 +324,7 @@ public class MainController extends AbstractFXMLViewController {
|
||||
public void didLock(UnlockedController ctrl) {
|
||||
unlockedVaults.remove(ctrl.getVault());
|
||||
showUnlockView();
|
||||
if (vaults.stream().anyMatch(Vault::isUnlocked)) {
|
||||
if (!vaults.stream().anyMatch(Vault::isUnlocked)) {
|
||||
Platform.setImplicitExit(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user