Fixes [stage]

This commit is contained in:
crschnick 2024-04-20 10:25:02 +00:00
parent ccb4e06809
commit 51f7e3f4f5
4 changed files with 7 additions and 4 deletions

View file

@ -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 -> {

View file

@ -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>();

View file

@ -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);

View file

@ -1 +1 @@
9.0-6
9.0-7