Small fixes [stage]

This commit is contained in:
crschnick 2024-06-27 06:28:23 +00:00
parent 99056e924c
commit 1ff39b2182
3 changed files with 18 additions and 11 deletions

View file

@ -146,16 +146,16 @@ public class SideMenuBarComp extends Comp<CompStructure<VBox>> {
vbox.getChildren().add(b.createRegion());
}
{
var b = new IconButtonComp("mdi2t-translate", () -> Hyperlinks.open(Hyperlinks.TRANSLATE))
.tooltipKey("translate")
.apply(simpleBorders)
.accessibleTextKey("translate");
b.apply(struc -> {
AppFont.setSize(struc.get(), 2);
});
vbox.getChildren().add(b.createRegion());
}
// {
// var b = new IconButtonComp("mdi2t-translate", () -> Hyperlinks.open(Hyperlinks.TRANSLATE))
// .tooltipKey("translate")
// .apply(simpleBorders)
// .accessibleTextKey("translate");
// b.apply(struc -> {
// AppFont.setSize(struc.get(), 2);
// });
// vbox.getChildren().add(b.createRegion());
// }
{
var b = new IconButtonComp(

View file

@ -1,6 +1,7 @@
package io.xpipe.ext.base.service;
import io.xpipe.app.storage.DataStoreEntryRef;
import io.xpipe.app.util.Validators;
import io.xpipe.core.store.DataStore;
import io.xpipe.core.store.FixedChildStore;
import io.xpipe.core.store.NetworkTunnelStore;
@ -21,6 +22,12 @@ public class FixedServiceStore extends AbstractServiceStore implements FixedChil
private final DataStoreEntryRef<NetworkTunnelStore> host;
private final DataStoreEntryRef<? extends DataStore> displayParent;
@Override
public void checkComplete() throws Throwable {
Validators.nonNull(displayParent);
Validators.nonNull(displayParent.getStore());
}
@Override
public DataStoreEntryRef<NetworkTunnelStore> getHost() {
return host;

View file

@ -1 +1 @@
10.0-22
10.0-23