mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-21 20:21:27 +00:00
Merge branch 'develop' into feature/restore-vaultconfig
This commit is contained in:
@@ -49,7 +49,7 @@ public class EventViewController implements FxController {
|
||||
}
|
||||
|
||||
/**
|
||||
* Comparison method for the lru cache. During comparsion the map is accessed.
|
||||
* Comparison method for the lru cache. During comparison the map is accessed.
|
||||
* First the entries are compared by the event timestamp, then vaultId, then identifying path and lastly by class name.
|
||||
*
|
||||
* @param left an entry of a {@link FSEventBucket} and its content
|
||||
|
||||
@@ -110,7 +110,7 @@ public class FxApplicationTerminator {
|
||||
} else if (settings.autoCloseVaults.get() && !preventQuitWithGracefulLock.get()) {
|
||||
var lockAllTask = vaultService.createLockAllTask(vaults.filtered(Vault::isUnlocked), false);
|
||||
lockAllTask.setOnSucceeded(event -> {
|
||||
LOG.info("Locked remaining vaults was succesful.");
|
||||
LOG.info("Locked remaining vaults was successful.");
|
||||
exitingResponse.performQuit();
|
||||
});
|
||||
lockAllTask.setOnFailed(event -> {
|
||||
|
||||
@@ -104,6 +104,12 @@ public class VaultListContextMenuController implements FxController {
|
||||
vaultService.reveal(vault);
|
||||
}
|
||||
|
||||
@FXML
|
||||
public void didClickShareVault() {
|
||||
var vault = Objects.requireNonNull(selectedVault.get());
|
||||
appWindows.showShareVaultWindow(vault);
|
||||
}
|
||||
|
||||
// Getter and Setter
|
||||
|
||||
public ObservableValue<Boolean> selectedVaultUnlockableProperty() {
|
||||
|
||||
Reference in New Issue
Block a user