mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Small fixes [stage]
This commit is contained in:
parent
99056e924c
commit
1ff39b2182
3 changed files with 18 additions and 11 deletions
|
@ -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(
|
||||
|
|
|
@ -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;
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
10.0-22
|
||||
10.0-23
|
||||
|
|
Loading…
Reference in a new issue