mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
reformatting
This commit is contained in:
@@ -45,7 +45,7 @@ public abstract class AddVaultModule {
|
||||
|
||||
@Provides
|
||||
@AddVaultWizardScoped
|
||||
static ObjectProperty<Path> provideVaultPath(){
|
||||
static ObjectProperty<Path> provideVaultPath() {
|
||||
return new SimpleObjectProperty<>();
|
||||
}
|
||||
|
||||
@@ -66,6 +66,6 @@ public abstract class AddVaultModule {
|
||||
@IntoMap
|
||||
@FxControllerKey(ChooseExistingVaultController.class)
|
||||
abstract FxController bindChooseExistingVaultController(ChooseExistingVaultController controller);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -46,10 +46,10 @@ public class VaultListController implements FxController {
|
||||
|
||||
public void didClickRemoveVault() {
|
||||
//TODO: Dialogue
|
||||
if(selectedVault.get() != null){
|
||||
if (selectedVault.get() != null) {
|
||||
vaults.remove(selectedVault.get());
|
||||
LOG.debug("Removing vault {}.",selectedVault.get().getDisplayableName());
|
||||
} else{
|
||||
LOG.debug("Removing vault {}.", selectedVault.get().getDisplayableName());
|
||||
} else {
|
||||
LOG.debug("Cannot remove a vault if none is selected.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user