mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fixes [stage]
This commit is contained in:
parent
ccb4e06809
commit
51f7e3f4f5
4 changed files with 7 additions and 4 deletions
|
@ -244,7 +244,10 @@ public abstract class StoreEntryComp extends SimpleComp {
|
|||
list.getLast().styleClass(Styles.RIGHT_PILL);
|
||||
}
|
||||
list.forEach(comp -> {
|
||||
comp.apply(struc -> struc.get().getStyleClass().remove(Styles.FLAT));
|
||||
comp.apply(struc -> {
|
||||
struc.get().getStyleClass().remove(Styles.FLAT);
|
||||
});
|
||||
comp.grow(false, true);
|
||||
});
|
||||
return new HorizontalComp(list)
|
||||
.apply(struc -> {
|
||||
|
|
|
@ -614,7 +614,7 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
|||
|
||||
List<ExternalTerminalType> ALL = getTypes(OsType.getLocal(), false, true);
|
||||
|
||||
List<ExternalTerminalType> ALL_CROSS_PLATFORM = getTypes(null, false, true);
|
||||
List<ExternalTerminalType> ALL_ON_ALL_PLATFORMS = getTypes(null, false, true);
|
||||
|
||||
static List<ExternalTerminalType> getTypes(OsType osType, boolean remote, boolean custom) {
|
||||
var all = new ArrayList<ExternalTerminalType>();
|
||||
|
|
|
@ -68,7 +68,7 @@ public class AppJacksonModule extends SimpleModule {
|
|||
@Override
|
||||
public ExternalTerminalType deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {
|
||||
var id = p.getValueAsString();
|
||||
return ExternalTerminalType.ALL.stream()
|
||||
return ExternalTerminalType.ALL_ON_ALL_PLATFORMS.stream()
|
||||
.filter(terminalType -> terminalType.getId().equals(id))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
9.0-6
|
||||
9.0-7
|
||||
|
|
Loading…
Reference in a new issue