This commit is contained in:
crschnick
2026-03-08 05:03:15 +00:00
parent 4947d12956
commit dfc7aad6cf
2 changed files with 2 additions and 5 deletions
@@ -50,7 +50,7 @@ public class SshAgentKeyListComp extends SimpleRegionBuilder {
var button = new ButtonComp(null, new LabelGraphic.IconGraphic("mdi2m-magnify-scan"), null);
button.apply(struc -> {
struc.setOnAction(event -> {
DataStoreEntryRef<ShellStore> refToUse = ref.getValue() != null ? ref.getValue() : DataStorage.get().local().ref();
DataStoreEntryRef<ShellStore> refToUse = ref != null && ref.getValue() != null ? ref.getValue() : DataStorage.get().local().ref();
ThreadHelper.runFailableAsync(() -> {
var list = SshAgentKeyList.listAgentIdentities(refToUse, sshIdentityStrategy.getValue());
Platform.runLater(() -> {
@@ -24,13 +24,10 @@ public class StoreCategoryIconComp extends SimpleRegionBuilder {
var storeIcon = imageComp.build();
storeIcon.setPadding(new Insets(0, 0, 1.5, 0));
var background = new Region();
background.getStyleClass().add("background");
var dots = new FontIcon("mdi2d-dots-horizontal");
dots.setIconSize((int) (size * 1.1));
var stack = new StackPane(background, storeIcon, dots);
var stack = new StackPane(storeIcon, dots);
stack.setMinHeight(size);
stack.setMinWidth(size);
stack.setMaxHeight(size);