~singpolyma/cheogram-android

fe262c42e2759dc5581aa8cf77cd5fbbf4ead0d6 — Stephen Paul Weber 3 months ago 640a725
If either min or max is missing, slider is not a good choice
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/entities/Conversation.java
M src/main/java/eu/siacs/conversations/entities/Conversation.java => src/main/java/eu/siacs/conversations/entities/Conversation.java +1 -1
@@ 2677,7 2677,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
                                viewType = TYPE_CHECKBOX_FIELD;
                            }
                        } else if (
                            range != null && (
                            range != null && range.getAttribute("min") != null && range.getAttribute("max") != null && (
                                "xs:integer".equals(datatype) || "xs:int".equals(datatype) || "xs:long".equals(datatype) || "xs:short".equals(datatype) || "xs:byte".equals(datatype) ||
                                "xs:decimal".equals(datatype) || "xs:double".equals(datatype)
                            )