mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-19 17:16:53 -04:00
@@ -260,8 +260,9 @@ public class MainController extends AbstractFXMLViewController {
|
||||
|
||||
private void selectedVaultDidChange(Vault newValue) {
|
||||
if (newValue == null) {
|
||||
activeController.set(welcomeController.get());
|
||||
} else if (newValue.isUnlocked()) {
|
||||
return;
|
||||
}
|
||||
if (newValue.isUnlocked()) {
|
||||
this.showUnlockedView(newValue);
|
||||
} else if (newValue.isValidVaultDirectory()) {
|
||||
this.showUnlockView();
|
||||
|
||||
Reference in New Issue
Block a user